Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 111.2 kB / 16.43 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.001056/0.001056, allocations: 185.5 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.116/1.116, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.166/2.166, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.425e-05, allocations: 2.281 kB / 1.055 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001956/0.001978, allocations: 1.546 MB / 1.056 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003081, allocations: 0.7712 MB / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.003128, allocations: 7.938 kB / 1.057 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.003158, allocations: 3.938 kB / 1.057 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.003232, allocations: 19.78 kB / 1.057 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.003658, allocations: 127.6 kB / 1.057 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.003794, allocations: 115.6 kB / 1.057 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.003871, allocations: 11.98 kB / 1.057 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.00396, allocations: 47.78 kB / 1.057 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.004032, allocations: 47.81 kB / 1.057 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004055, allocations: 8 kB / 1.057 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.004218, allocations: 103.9 kB / 1.057 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of combineBinaries: time 9.556e-05/0.004321, allocations: 150.3 kB / 1.057 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.216e-05/0.004369, allocations: 82.69 kB / 1.058 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.004397, allocations: 15.94 kB / 1.058 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.679e-05/0.004418, allocations: 4 kB / 1.058 GB, free: 4.715 MB / 0.8262 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