Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 112.4 kB / 16.43 MB, free: 6.531 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.001108/0.001108, allocations: 183.2 kB / 17.36 MB, free: 5.723 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.198/1.198, 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.311/2.311, allocations: 469.8 MB / 0.7431 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.598e-05, allocations: 6.219 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002103/0.002128, allocations: 1.514 MB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003322, allocations: 0.7595 MB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.003378, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.003412, allocations: 3.938 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.003508, allocations: 19.86 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.004002, allocations: 127.5 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.004143, allocations: 91.7 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.004251, allocations: 23.91 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.004349, allocations: 31.86 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.004418, allocations: 39.83 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.004443, allocations: 8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.004611, allocations: 95.91 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001043/0.004724, allocations: 114.7 kB / 1.069 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.07e-05/0.004761, allocations: 63.03 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.00479, allocations: 15.94 kB / 1.069 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-05/0.004814, allocations: 3.938 kB / 1.069 GB, free: 10.78 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.p, integer(lig.curSeed)); end if