Under the design basis accidents, steam release which is resulted from the rupture of reactor cooling system pipes or the rupture of main steam pipes will induce thermal and pressure impact on the containment, and that will probably destroy containment integrity. The passive containment cooling system (PCCS) can utilize natural force to remove heat and decrease pressure and temperature in the containment. So it can provide protection and cool down steel containment after accident. COSINE is a core and system integrated engine for nuclear power plant design and analysis. It is the first independent research and development nuclear power software in China. In this paper, COSINE containment code cosCont and GOTHIC are applied to evaluate the performance of PCCS of the advanced pressurized water reactor AP1000. Containment and concrete shielding are modeled, considering of steam condensation on the internal surface of the containment and air natural convection cooling on the external surface of the containment. The results show that pressure and temperature in the containment increase and environment side change little after high temperature and high pressure coolant sprayed into the containment. And the pressure in the containment did not exceed the safety design limit. Comparing the results of COSINE with GOTHIC, the calculation deviation of COSINE is within the acceptable range.