Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 106.3 kB / 16.38 MB, free: 6.441 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.001073/0.001073, allocations: 190.5 kB / 17.32 MB, free: 5.785 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.158/1.158, 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.556/1.556, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.077e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002329/0.002364, allocations: 1.523 MB / 0.6743 GB, free: 4.383 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003567, allocations: 0.8033 MB / 0.6751 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.00361, allocations: 0 / 0.6751 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.003645, allocations: 3.938 kB / 0.6751 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.003696, allocations: 11.86 kB / 0.6751 GB, free: 3.555 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.0004839/0.00419, allocations: 135.6 kB / 0.6753 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.004325, allocations: 115.7 kB / 0.6754 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.004418, allocations: 19.84 kB / 0.6754 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.004502, allocations: 43.84 kB / 0.6754 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.004574, allocations: 55.8 kB / 0.6755 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.004601, allocations: 12 kB / 0.6755 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.004763, allocations: 95.91 kB / 0.6756 GB, free: 3.086 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001016/0.004874, allocations: 134.7 kB / 0.6757 GB, free: 2.953 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.866e-05/0.004918, allocations: 70.97 kB / 0.6758 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.004941, allocations: 4 kB / 0.6758 GB, free: 2.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.286e-05/0.004958, allocations: 7.875 kB / 0.6758 GB, free: 2.871 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.pOpen = exp(win.AOpen * (win.TIn - 273.15) + win.BOpen) / (exp(win.AOpen * (win.TIn - 273.15) + win.BOpen) + 1.0); win.pClose = exp(win.AClose * (win.TIn - 273.15) + win.BClose) / (exp(win.AClose * (win.TIn - 273.15) + win.BClose) + 1.0); if pre(win.on) == true and win.TIn < 303.15 then win.on = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pClose, integer(win.curSeed)); elseif pre(win.on) == false and win.TIn > 293.15 then win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pOpen, integer(win.curSeed)); elseif true then win.on = pre(win.on); end if; elseif true then win.pOpen = 0.0; win.pClose = 0.0; win.on = false; end if