Open dchassin opened 1 year ago
GUIDs are generated using random number generators, but they do not seed from the global random number generator state.
Create the following model in test.glm:
test.glm
print ${GUID}
Run it twice:3.
shell$ gridlabd -D randomseed=1 /tmp/test.glm /tmp/test.glm(1): f9493e71-8fa8-4f76-cab6-82e71391b5e5 shell$ gridlabd -D randomseed=1 /tmp/test.glm /tmp/test.glm(1): d6687571-53e7-4921-20b0-162cd85e395d
The result should be:
shell$ gridlabd -D randomseed=1 /tmp/test.glm /tmp/test.glm(1): f9493e71-8fa8-4f76-cab6-82e71391b5e5 shell$ gridlabd -D randomseed=1 /tmp/test.glm /tmp/test.glm(1): f9493e71-8fa8-4f76-cab6-82e71391b5e5
Problem description
GUIDs are generated using random number generators, but they do not seed from the global random number generator state.
Steps to reproduce
Create the following model in
test.glm
:Run it twice:3.
Expected behavior
The result should be: