Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 109.6 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.001074/0.001074, allocations: 187.2 kB / 17.35 MB, free: 5.695 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.141/1.141, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.204/1.204, allocations: 251.7 MB / 0.51 GB, free: 372 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.734e-05, allocations: 6.219 kB / 0.7264 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002121/0.002147, allocations: 1.628 MB / 0.728 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003432, allocations: 0.842 MB / 0.7288 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.003483, allocations: 0 / 0.7288 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.003521, allocations: 11.86 kB / 0.7288 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.003581, allocations: 23.8 kB / 0.7288 GB, free: 2.191 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.0005135/0.004105, allocations: 163.5 kB / 0.729 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.004269, allocations: 163.5 kB / 0.7291 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.004408, allocations: 29.05 kB / 0.7292 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.004509, allocations: 71.75 kB / 0.7292 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.004601, allocations: 79.72 kB / 0.7293 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.004629, allocations: 12 kB / 0.7293 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.0048, allocations: 99.91 kB / 0.7294 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001431/0.004951, allocations: 194 kB / 0.7296 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 4.784e-05/0.005008, allocations: 114.4 kB / 0.7297 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.005038, allocations: 15.94 kB / 0.7297 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.076e-05/0.005053, allocations: 3.938 kB / 0.7297 GB, free: 1.262 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then if win.TIn > (win.TComf + 2.0) then if not pre(win.on) then win.p = exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) / (exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = -0.3; win.on = true; end if; elseif win.TIn < (win.TComf - 2.0) then if pre(win.on) then win.p = exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) / (exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = -0.5; win.on = false; end if; elseif true then win.p = -0.1; win.on = pre(win.on); end if; elseif true then win.p = 0.0; win.on = false; end if