Simulation and laboratory test results of 3D CMS pixel detectors for HL-LHC