Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009237, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.0008589/0.0008589, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.146/1.146, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.225/1.225, allocations: 251.7 MB / 0.51 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.213e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001936/0.001955, allocations: 1.494 MB / 0.7278 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003056, allocations: 0.7887 MB / 0.7286 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.003103, allocations: 0 / 0.7286 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.003133, allocations: 7.922 kB / 0.7286 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.00318, allocations: 7.875 kB / 0.7286 GB, free: 2.449 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.000464/0.003653, allocations: 123.6 kB / 0.7287 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.003764, allocations: 83.77 kB / 0.7288 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.00385, allocations: 11.98 kB / 0.7288 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/0.003928, allocations: 35.91 kB / 0.7289 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.003988, allocations: 39.83 kB / 0.7289 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.004008, allocations: 4 kB / 0.7289 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.004173, allocations: 99.84 kB / 0.729 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of combineBinaries: time 7.974e-05/0.004262, allocations: 106.9 kB / 0.7291 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.463e-05/0.004302, allocations: 59.12 kB / 0.7291 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.004324, allocations: 7.938 kB / 0.7292 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.195e-06/0.004337, allocations: 0 / 0.7292 GB, free: 1.887 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