Numerical analysis of weak shock attenuation resulting from molecular vibrational relaxation