Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 98.95 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 192.2 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.57e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002019/0.002045, allocations: 1.506 MB / 0.7278 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.003162, allocations: 0.7732 MB / 0.7286 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.00321, allocations: 3.938 kB / 0.7286 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.003242, allocations: 3.938 kB / 0.7286 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.003296, allocations: 19.84 kB / 0.7286 GB, free: 2.434 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.003789, allocations: 123.6 kB / 0.7287 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003901, allocations: 79.77 kB / 0.7288 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.003988, allocations: 16 kB / 0.7288 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.004068, allocations: 35.89 kB / 0.7288 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.004131, allocations: 35.84 kB / 0.7289 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.004153, allocations: 8 kB / 0.7289 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.00432, allocations: 95.84 kB / 0.729 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of combineBinaries: time 8.47e-05/0.004413, allocations: 106.9 kB / 0.7291 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.478e-05/0.004453, allocations: 59.11 kB / 0.7291 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.004478, allocations: 11.94 kB / 0.7292 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.03e-05/0.004494, allocations: 8 kB / 0.7292 GB, free: 1.863 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TOut - 273.15) + win.B) / (exp(win.A * (win.TOut - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = 0.0; win.on = false; end if