The Resistive Plate Chamber (RPC) muon subsystem contributes significantly to the formation of the trigger decision and reconstruction of the muon trajectory parameters. Simulation of the RPC response is a crucial part of the entire CMS Monte Carlo software and directly influences the final physical results. An algorithm based on the parametrization of RPC efficiency, noise, cluster size and timing for every strip has been developed. Experimental data obtained from cosmic and proton-proton collisions at s = 7 TeV have been used for determination of the parameters. A dedicated validation procedure has been developed. A good agreement between the simulated and experimental data has been achieved.