Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,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.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,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.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 111.8 kB / 16.42 MB, free: 6.484 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.001127/0.001127, allocations: 183.2 kB / 17.36 MB, free: 5.711 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.14 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.296/2.296, allocations: 469.8 MB / 0.7431 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/1.935e-05, allocations: 2.281 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002206/0.002234, allocations: 1.557 MB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003466, allocations: 0.7711 MB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.003526, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.003567, allocations: 7.938 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.003661, allocations: 23.8 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.00417, allocations: 131.5 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004319, allocations: 107.7 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.004403, allocations: 11.98 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.004503, allocations: 47.8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.004579, allocations: 43.81 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.004604, allocations: 8 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.004777, allocations: 103.8 kB / 1.069 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001146/0.004899, allocations: 150.3 kB / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.999e-05/0.004945, allocations: 90.67 kB / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.004977, allocations: 15.94 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.777e-05/0.004999, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8419 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