I did some tests, and it seems that you have used the roof with vertical edge, right?
Then if you select the roof top and bottom 
nodes
 in the 3d doc, it will give you the vertical dimension.
On the other hand, if you select the roof top and bottom 
edges
,  it will give you the correct one.
Can you confirm this?  
