Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_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.001124/0.001124, allocations: 108.2 kB / 16.42 MB, free: 6.406 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.001096/0.001096, allocations: 188.5 kB / 17.36 MB, free: 5.676 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.181/1.181, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.317/2.317, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.817e-05, allocations: 4.609 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002137/0.002163, allocations: 1.521 MB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003364, allocations: 0.7556 MB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.003415, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.003465, allocations: 11.88 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.003564, allocations: 19.84 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.004051, allocations: 131.5 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.004199, allocations: 103.7 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.0043, allocations: 11.98 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.004404, allocations: 43.84 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.004478, allocations: 51.81 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.004504, allocations: 8 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.004668, allocations: 95.91 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001171/0.004793, allocations: 130.6 kB / 1.069 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.107e-05/0.00484, allocations: 82.78 kB / 1.069 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.00487, allocations: 11.88 kB / 1.069 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.175e-05/0.004896, allocations: 15.92 kB / 1.069 GB, free: 10.64 MB / 0.8419 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