Bump map not showing differences for different height
I'm not sure the Z depth value is helpful here.
I used this Robin Betts' answer for the height map instead

Render the height map
Set Bump Distance to correspond to your object's max height (0,5 m in my example)
Done


Geometry with 0,5 meters max height

Generated Height map

Bump Distance with 0,5 m height