From GridLAB-D Wiki
The --unitstest start a self-test of the unit conversion system in GridLAB-D. The output of the test is written to the file defined by the global variable testoutputfile, which is by default set to test.txt.
Command line
host% gridlabd --unitstest