Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001204/0.001204, allocations: 107.1 kB / 16.37 MB, free: 6.363 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.001092/0.001092, allocations: 191.5 kB / 17.31 MB, free: 5.91 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.189/1.189, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.613e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002482/0.002525, allocations: 1.492 MB / 0.6743 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003735, allocations: 0.7721 MB / 0.6751 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.003785, allocations: 0 / 0.6751 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.00382, allocations: 11.86 kB / 0.6751 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.003868, allocations: 7.938 kB / 0.6751 GB, free: 3.613 MB / 0.545 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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.0005538/0.004432, allocations: 127.6 kB / 0.6752 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.004558, allocations: 87.7 kB / 0.6753 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.004665, allocations: 11.98 kB / 0.6753 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.004771, allocations: 39.89 kB / 0.6753 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.004838, allocations: 39.84 kB / 0.6754 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.00486, allocations: 4 kB / 0.6754 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.005027, allocations: 99.84 kB / 0.6755 GB, free: 3.211 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001023/0.005137, allocations: 106.9 kB / 0.6756 GB, free: 3.105 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.845e-05/0.005171, allocations: 55.12 kB / 0.6756 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.005201, allocations: 15.94 kB / 0.6756 GB, free: 3.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.117e-05/0.005217, allocations: 0 / 0.6756 GB, free: 3.035 MB / 0.545 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