Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 107.5 kB / 16.42 MB, free: 6.457 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.001062/0.001062, allocations: 187.1 kB / 17.35 MB, free: 5.707 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.131/1.131, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.197/1.197, allocations: 251.7 MB / 0.51 GB, free: 380 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.584e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001931/0.001954, allocations: 1.501 MB / 0.7278 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.003163, allocations: 0.8665 MB / 0.7287 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.003206, allocations: 3.938 kB / 0.7287 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.003236, allocations: 7.922 kB / 0.7287 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.003288, allocations: 19.86 kB / 0.7287 GB, free: 2.328 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.0005255/0.003823, allocations: 159.5 kB / 0.7288 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003945, allocations: 103.7 kB / 0.7289 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.00403, allocations: 8 kB / 0.7289 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.004112, allocations: 43.91 kB / 0.729 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.004179, allocations: 47.81 kB / 0.729 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.004202, allocations: 8 kB / 0.729 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.004389, allocations: 123.8 kB / 0.7292 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of combineBinaries: time 9.43e-05/0.004492, allocations: 126.6 kB / 0.7293 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.227e-05/0.004529, allocations: 70.92 kB / 0.7293 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.004553, allocations: 11.94 kB / 0.7294 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.638e-06/0.004567, allocations: 4 kB / 0.7294 GB, free: 1.633 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