Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 109 kB / 16.42 MB, free: 6.461 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.001053/0.001053, allocations: 191.8 kB / 17.36 MB, free: 5.707 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.123/1.123, 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.0.1-master/package.mo): time 2.143/2.143, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.637e-05, allocations: 4.109 kB / 1.055 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001643/0.001667, allocations: 1.218 MB / 1.056 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006227/0.0023, allocations: 386.7 kB / 1.056 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.872e-05/0.002329, allocations: 0 / 1.056 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.00235, allocations: 0 / 1.056 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.574e-05/0.002379, allocations: 3.938 kB / 1.056 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.002788, allocations: 91.72 kB / 1.056 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.803e-05/0.002856, allocations: 19.92 kB / 1.056 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.002895, allocations: 8 kB / 1.056 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.002921, allocations: 15.86 kB / 1.056 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.002945, allocations: 3.984 kB / 1.056 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.002962, allocations: 4 kB / 1.056 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.00312, allocations: 87.91 kB / 1.056 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of combineBinaries: time 3.506e-05/0.003163, allocations: 27.73 kB / 1.056 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 8.596e-06/0.003176, allocations: 19.69 kB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.003195, allocations: 0 / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.981e-06/0.003205, allocations: 0 / 1.056 GB, free: 5.914 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.binaryVariableGeneration(p, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if