The --dsttest command line option is used to test the daylight savings time rules. The daylight savings test checks that the difference between the second before and the second at which daylight savings goes into and out of effect is separate by only 1 second.
When the test is run the output is sent to the file indicated by testoutputfile global variable, which is set to test.txt by default. The output of the test is formatted to examine the rule for each year between 1970 and 2019. Each test will produce a one-line report such as
2011-03-13 01:59:59 PST + 1.000000s = 2011-03-13 03:00:00 PDT
host% gridlabd --dsttest
On some platforms, the local timezone cannot be automatically determined by the simulation. In such cases, the environment variable TZ must be set before the test will run. For example:
host% export TZ=PST8PDT