Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Gunay2016Light,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.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_latest_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.001053/0.001053, allocations: 111.1 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.001103/0.001103, allocations: 188.2 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.104/1.104, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.159/2.159, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.722e-05, allocations: 6.219 kB / 1.055 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002066/0.002091, allocations: 1.523 MB / 1.056 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003228, allocations: 0.7556 MB / 1.057 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.003283, allocations: 11.94 kB / 1.057 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.003317, allocations: 3.938 kB / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.003406, allocations: 19.8 kB / 1.057 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.003865, allocations: 131.6 kB / 1.057 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.004008, allocations: 99.69 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.004092, allocations: 16 kB / 1.057 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.004187, allocations: 47.83 kB / 1.057 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.004258, allocations: 43.83 kB / 1.057 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.004281, allocations: 8 kB / 1.057 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.004454, allocations: 99.84 kB / 1.057 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of combineBinaries: time 9.47e-05/0.004557, allocations: 134.6 kB / 1.057 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.129e-05/0.004603, allocations: 78.78 kB / 1.058 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.004634, allocations: 15.94 kB / 1.058 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.127e-05/0.004661, allocations: 3.938 kB / 1.058 GB, free: 4.809 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