Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001097/0.001097, allocations: 106.2 kB / 16.38 MB, free: 6.383 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.001089/0.001089, allocations: 192.1 kB / 17.31 MB, free: 5.766 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.194/1.194, 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 8.1.4-maint.8.1.x/package.mo): time 1.577/1.577, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.059e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002342/0.002375, allocations: 1.648 MB / 0.6745 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003556, allocations: 0.8228 MB / 0.6753 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.003605, allocations: 4 kB / 0.6753 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.003642, allocations: 7.875 kB / 0.6753 GB, free: 3.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.00371, allocations: 23.78 kB / 0.6753 GB, free: 3.375 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.000502/0.004223, allocations: 155.5 kB / 0.6754 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.004383, allocations: 171.5 kB / 0.6756 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.004478, allocations: 17.11 kB / 0.6756 GB, free: 3.039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.004583, allocations: 63.83 kB / 0.6757 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.004671, allocations: 83.7 kB / 0.6758 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.004699, allocations: 12 kB / 0.6758 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.004866, allocations: 111.8 kB / 0.6759 GB, free: 2.773 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001334/0.005007, allocations: 190 kB / 0.6761 GB, free: 2.586 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 5.294e-05/0.005066, allocations: 102.4 kB / 0.6762 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.005098, allocations: 15.94 kB / 0.6762 GB, free: 2.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.301e-05/0.005116, allocations: 7.984 kB / 0.6762 GB, free: 2.461 MB / 0.545 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