You are using the map.cub image as a DEM, so the pixel values are heights, in meters. That is not bad as a first guess.
What you can do is mapproject your original cub file (not the mapped one) onto this "DEM", and do the same with the new RPC camera. For that it may be better to rename your level2.map.cub to something like dem.tif, and do:
mapproject dem.tif input.cub input_rpc.xml output_rpc.tif
and compare that with the earlier result, of mapproject of the input.cub without rpc. They should agree.
Also note that cam2rpc can be used without a DEM. One can use a lon-lat range and height range. Then it will try to fit to every point in that ground box. The documentation has an example.