Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 110.6 kB / 16.38 MB, free: 6.48 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.001077/0.001077, allocations: 190.5 kB / 17.31 MB, free: 5.797 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.184/1.184, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.573/1.573, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002311/0.002344, allocations: 1.527 MB / 0.6743 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003519, allocations: 0.7916 MB / 0.6751 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.003567, allocations: 3.938 kB / 0.6751 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.003595, allocations: 3.938 kB / 0.6751 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.003673, allocations: 19.78 kB / 0.6751 GB, free: 3.492 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.0004498/0.004136, allocations: 135.5 kB / 0.6753 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.004267, allocations: 103.7 kB / 0.6754 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.004355, allocations: 15.98 kB / 0.6754 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.004442, allocations: 43.84 kB / 0.6754 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.004506, allocations: 47.83 kB / 0.6755 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.004529, allocations: 8 kB / 0.6755 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.004691, allocations: 99.84 kB / 0.6756 GB, free: 3.047 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001032/0.004803, allocations: 138.5 kB / 0.6757 GB, free: 2.91 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 4.241e-05/0.004851, allocations: 78.78 kB / 0.6758 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.004878, allocations: 12 kB / 0.6758 GB, free: 2.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.549e-05/0.004898, allocations: 3.938 kB / 0.6758 GB, free: 2.816 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if lig.sampleTrigger then if lig.occ then if not pre(lig.on) then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pInter, integer(lig.curSeed)); elseif true then lig.on = true; end if; elseif true then lig.on = false; end if; elseif true then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pArriv, integer(lig.curSeed)); end if