Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 109.2 kB / 16.42 MB, free: 6.508 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.001066/0.001066, allocations: 185.5 kB / 17.35 MB, free: 5.754 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 15.2 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.928/1.928, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.433e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00195/0.001972, allocations: 1.529 MB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003049, allocations: 0.7673 MB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.003094, allocations: 0 / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.003124, allocations: 7.875 kB / 0.9537 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.003204, allocations: 23.84 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.003615, allocations: 131.5 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.003749, allocations: 87.77 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.366e-05/0.003829, allocations: 15.98 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.003914, allocations: 47.78 kB / 0.954 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.003978, allocations: 39.83 kB / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003998, allocations: 4 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.004154, allocations: 95.91 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.229e-05/0.004254, allocations: 126.6 kB / 0.9542 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.36e-05/0.004293, allocations: 78.88 kB / 0.9543 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.004325, allocations: 7.938 kB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.671e-05/0.004345, allocations: 11.98 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if lig.sampleTrigger then if lig.occ then lig.on = pre(lig.on); elseif true then lig.on = false; end if; elseif true then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pArriv, integer(lig.curSeed)); end if