Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Hunt1979Light,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.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_11_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.001207/0.001207, allocations: 113 kB / 16.43 MB, free: 6.477 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.001089/0.001089, allocations: 185.5 kB / 17.36 MB, free: 5.703 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.184/1.184, allocations: 222.9 MB / 241 MB, free: 15.1 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.303/2.303, allocations: 469.8 MB / 0.7431 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.042e-05, allocations: 2.281 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002136/0.002165, allocations: 1.522 MB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.003309, allocations: 0.7633 MB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.003355, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.003389, allocations: 3.938 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.00347, allocations: 19.81 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.003938, allocations: 127.6 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.00407, allocations: 95.69 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.004152, allocations: 15.97 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.004247, allocations: 39.86 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.00431, allocations: 39.83 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.004334, allocations: 8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.004491, allocations: 95.84 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001066/0.004608, allocations: 138.6 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.421e-05/0.004648, allocations: 70.92 kB / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.004675, allocations: 11.94 kB / 1.069 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.639e-05/0.004696, allocations: 4 kB / 1.069 GB, free: 10.68 MB / 0.8419 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