Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.Predictors.Validation.SineInputDayOfAdjustment,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_9_Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment") translateModel(Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment,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_9_Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 106.4 kB / 16.42 MB, free: 6.426 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.001748/0.001748, allocations: 190 kB / 17.36 MB, free: 5.688 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.056/1.056, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.75/1.75, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.516e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment): time 0.002617/0.002639, allocations: 2.229 MB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.004429, allocations: 1.274 MB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.004553, allocations: 0 / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.004803, allocations: 51.58 kB / 0.9549 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.004953, allocations: 71.47 kB / 0.955 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.005734, allocations: 359.1 kB / 0.9553 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000485/0.006227, allocations: 0.5419 MB / 0.9559 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.006335, allocations: 40.73 kB / 0.9559 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.006586, allocations: 227.4 kB / 0.9561 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.00678, allocations: 171.3 kB / 0.9563 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.006827, allocations: 24 kB / 0.9563 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.006991, allocations: 111.9 kB / 0.9564 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002839/0.007282, allocations: 463.2 kB / 0.9569 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0001256/0.007414, allocations: 268.1 kB / 0.9571 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.00749, allocations: 59.86 kB / 0.9572 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.273e-05/0.007537, allocations: 15.88 kB / 0.9572 GB, free: 1.785 MB / 0.7325 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