Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 102.5 kB / 16.38 MB, free: 5.98 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.0009291/0.0009291, allocations: 193.3 kB / 17.32 MB, free: 5.594 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.171/1.171, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.576/1.576, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.172e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002459/0.002492, allocations: 1.515 MB / 0.6743 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003675, allocations: 0.7877 MB / 0.6751 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.003723, allocations: 4 kB / 0.6751 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.003756, allocations: 3.938 kB / 0.6751 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.003807, allocations: 15.8 kB / 0.6751 GB, free: 3.551 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.0004966/0.004314, allocations: 134 kB / 0.6752 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.004437, allocations: 103.7 kB / 0.6753 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.004529, allocations: 15.86 kB / 0.6754 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.004617, allocations: 39.91 kB / 0.6754 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.004682, allocations: 39.83 kB / 0.6754 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.004706, allocations: 8 kB / 0.6754 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.004863, allocations: 107.8 kB / 0.6755 GB, free: 3.113 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001031/0.004974, allocations: 118.7 kB / 0.6757 GB, free: 2.996 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.314e-05/0.005013, allocations: 78.86 kB / 0.6757 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.005042, allocations: 15.94 kB / 0.6757 GB, free: 2.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.021e-05/0.005056, allocations: 0 / 0.6757 GB, free: 2.902 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then if pre(bli.isOpen) == false then bli.pUp = 0.0; bli.pDown = exp(bli.ADown * bli.H + bli.BDown) / (exp(bli.ADown * bli.H + bli.BDown) + 1.0); bli.isOpen = Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)); elseif true then bli.pUp = exp(bli.AUp * bli.H + bli.BUp) / (exp(bli.AUp * bli.H + bli.BUp) + 1.0); bli.pDown = 0.0; bli.isOpen = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pUp, integer(bli.curSeed)); end if; elseif true then bli.pUp = 0.0; bli.pDown = 0.0; bli.isOpen = false; end if