Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001118/0.001118, allocations: 110.8 kB / 16.42 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.001085/0.001085, allocations: 190 kB / 17.36 MB, free: 5.699 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.147/1.147, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.917/1.917, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.11e-05, allocations: 5.234 kB / 0.9514 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002076/0.002095, allocations: 1.53 MB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003279, allocations: 0.7557 MB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.003332, allocations: 3.938 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.003366, allocations: 7.875 kB / 0.9537 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.003449, allocations: 19.84 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.003915, allocations: 131.5 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.004066, allocations: 99.75 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.004153, allocations: 19.94 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.004254, allocations: 51.77 kB / 0.954 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.004323, allocations: 43.83 kB / 0.954 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.004346, allocations: 8 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.004513, allocations: 91.91 kB / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001012/0.004622, allocations: 134.6 kB / 0.9542 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.518e-05/0.004673, allocations: 82.86 kB / 0.9543 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.004702, allocations: 15.94 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.118e-05/0.004728, allocations: 11.94 kB / 0.9543 GB, free: 4.719 MB / 0.7325 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