Your simulated and actual output is +2.5V which is the average voltage of the AC input.
The expected output is the output of an inverting peak detector (active rectifier) that is referenced to 0V and has an input coupling capacitor, but its diode prevents the output from going as high as 5V.
The expected output is the output of an inverting peak detector (active rectifier) that is referenced to 0V and has an input coupling capacitor, but its diode prevents the output from going as high as 5V.

