Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.Validation.ConstantInput.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PCon.y|baseLoad.PPre.1.|baseLoad.typeOfDay.1.|baseLoad.storeHistory|baseLoad.adj|baseLoad.PPre.2.|baseLoad.PPre.3.|baseLoad.PPre.4.|baseLoad.PPre.5.|baseLoad.PPre.6.|baseLoad.PPre.7.|baseLoad.PPre.8.|baseLoad.PPre.9.|baseLoad.PPre.10.|baseLoad.PPre.11.|baseLoad.PPre.12.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.Validation.ConstantInput") translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PCon.y|baseLoad.PPre.1.|baseLoad.typeOfDay.1.|baseLoad.storeHistory|baseLoad.adj|baseLoad.PPre.2.|baseLoad.PPre.3.|baseLoad.PPre.4.|baseLoad.PPre.5.|baseLoad.PPre.6.|baseLoad.PPre.7.|baseLoad.PPre.8.|baseLoad.PPre.9.|baseLoad.PPre.10.|baseLoad.PPre.11.|baseLoad.PPre.12.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 113.7 kB / 16.42 MB, free: 6.512 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.001073/0.001073, allocations: 187.2 kB / 17.35 MB, free: 5.715 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.149/1.149, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.215/2.215, allocations: 472.6 MB / 0.7459 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.052e-05, allocations: 2.281 kB / 1.07 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.Validation.ConstantInput): time 0.002384/0.002402, allocations: 1.984 MB / 1.072 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.004157, allocations: 1.207 MB / 1.073 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004279, allocations: 3.938 kB / 1.073 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.004521, allocations: 51.64 kB / 1.073 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.004662, allocations: 67.55 kB / 1.073 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.005461, allocations: 327.2 kB / 1.074 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.005961, allocations: 499 kB / 1.074 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.006065, allocations: 36.39 kB / 1.074 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.006287, allocations: 203.5 kB / 1.074 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.006453, allocations: 115.6 kB / 1.074 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.006499, allocations: 20 kB / 1.074 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.006655, allocations: 91.8 kB / 1.075 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002368/0.0069, allocations: 364.1 kB / 1.075 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000105/0.007011, allocations: 208.9 kB / 1.075 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.007079, allocations: 47.88 kB / 1.075 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.006e-05/0.007124, allocations: 15.88 kB / 1.075 GB, free: 4.441 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(dayType.skipIDayIncrement) then dayType.iDay = pre(dayType.iDay); elseif true then dayType.iDay = mod(pre(dayType.iDay), 7) + 1; end if