Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001066/0.001066, allocations: 113.9 kB / 16.43 MB, free: 6.035 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.001038/0.001038, allocations: 179.1 kB / 17.35 MB, free: 5.617 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.109/1.109, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.047/2.047, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.006e-05, allocations: 6.219 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001853/0.00188, allocations: 1.52 MB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.002925, allocations: 0.7673 MB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.002969, allocations: 0 / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.002999, allocations: 7.875 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.003075, allocations: 23.86 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.003477, allocations: 123.6 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.00361, allocations: 99.62 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.00369, allocations: 19.98 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.003768, allocations: 35.92 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.003831, allocations: 39.81 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.003854, allocations: 8 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.004012, allocations: 99.84 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.681e-05/0.004106, allocations: 122.6 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.174e-05/0.004142, allocations: 74.88 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.004174, allocations: 11.94 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.536e-05/0.004193, allocations: 4 kB / 1.022 GB, free: 6.543 MB / 0.795 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