Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 109.1 kB / 16.42 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.001075/0.001075, allocations: 193 kB / 17.36 MB, free: 5.578 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.142/1.142, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.234/1.234, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.458e-05, allocations: 9.594 kB / 0.7263 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001948/0.00197, allocations: 1.498 MB / 0.7278 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003177, allocations: 0.8742 MB / 0.7287 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.00322, allocations: 0 / 0.7287 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.003255, allocations: 3.938 kB / 0.7287 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.003315, allocations: 15.86 kB / 0.7287 GB, free: 2.348 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/weibull1DON.mo:2:1-36:16:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DON' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/weibull1DOFF.mo:2:1-36:17:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DOFF' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.003833, allocations: 163.5 kB / 0.7288 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.00396, allocations: 107.7 kB / 0.7289 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.004042, allocations: 15.98 kB / 0.729 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.00412, allocations: 31.92 kB / 0.729 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.004186, allocations: 47.81 kB / 0.729 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.004208, allocations: 8 kB / 0.729 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.004415, allocations: 127.8 kB / 0.7292 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of combineBinaries: time 9.216e-05/0.004515, allocations: 126.6 kB / 0.7293 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.809e-05/0.00456, allocations: 74.94 kB / 0.7294 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.004586, allocations: 11.94 kB / 0.7294 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.968e-06/0.0046, allocations: 4 kB / 0.7294 GB, free: 1.641 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if ac.occ then if pre(ac.on) then ac.on = not Buildings.Occupants.BaseClasses.weibull1DOFF(ac.TIn, ac.u1, ac.L1, ac.k1, ac.samplePeriod, integer(ac.curSeed)); elseif true then ac.on = Buildings.Occupants.BaseClasses.weibull1DON(ac.TIn, ac.u2, ac.L2, ac.k2, ac.samplePeriod, integer(ac.curSeed)); end if; elseif true then ac.on = false; end if