Well, I solved this problem, When I looked at the RTL genetared by Openlane some signals are routed to ground. When I check my RTL code I use those variables (wires) but I never declare those variables. I think when the synthesis was done the signals that were not declared were routed to ground and that caused the error in LVS.