Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 105.8 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.001103/0.001103, allocations: 189.9 kB / 17.36 MB, free: 5.73 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 7.0.3-maint.7.0.x/package.mo): time 1.223/1.223, allocations: 251.7 MB / 0.51 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.095e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001943/0.001962, allocations: 1.498 MB / 0.7278 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003099, allocations: 0.8004 MB / 0.7286 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.003144, allocations: 0 / 0.7286 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.003179, allocations: 7.875 kB / 0.7286 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.00325, allocations: 11.86 kB / 0.7286 GB, free: 2.438 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.0004548/0.00371, allocations: 131.6 kB / 0.7287 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.003837, allocations: 99.77 kB / 0.7288 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.003923, allocations: 11.98 kB / 0.7289 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.004005, allocations: 43.84 kB / 0.7289 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.004074, allocations: 47.81 kB / 0.7289 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.004098, allocations: 8 kB / 0.7289 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.004266, allocations: 95.86 kB / 0.729 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of combineBinaries: time 9.431e-05/0.004368, allocations: 122.7 kB / 0.7292 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 4.557e-05/0.00442, allocations: 70.88 kB / 0.7292 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.004451, allocations: 12 kB / 0.7292 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.057e-06/0.004466, allocations: 4 kB / 0.7292 GB, free: 1.801 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then if not pre(bli.isOpen) then bli.pUp = 0.0; bli.pDown = exp(bli.ADown * bli.solarAltitude + bli.BDown) / (exp(bli.ADown * bli.solarAltitude + bli.BDown) + 1.0); bli.isOpen = Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)); elseif true then bli.pUp = exp(bli.AUp * bli.solarAltitude + bli.BUp) / (exp(bli.AUp * bli.solarAltitude + 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