Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Predictors.Validation.ConstantInput.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004294/0.004299, allocations: 230.8 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001164/0.001164, allocations: 171.8 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.912/3.912, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.026/4.026, allocations: 472.3 MB / 0.9024 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004908, allocations: 16.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1894, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7973/0.9868, allocations: 130.6 MB / 1.232 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.9872, allocations: 78.95 kB / 1.232 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07385/1.061, allocations: 22.36 MB / 1.254 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.025e-06/1.061, allocations: 0 / 1.254 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.34e-05/1.061, allocations: 64 kB / 1.254 GB, free: 6.074 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.006591/1.068, allocations: 3.557 MB / 1.258 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.068, allocations: 14.66 kB / 1.258 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007031/1.069, allocations: 349 kB / 1.258 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/1.071, allocations: 1.085 MB / 1.259 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/1.072, allocations: 242.8 kB / 1.259 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/1.072, allocations: 358.3 kB / 1.26 GB, free: 1.062 MB / 0.6198 GB Error: An independent subset of the model has imbalanced number of equations (1054) and variables (17). variables: baseLoad.EHisAve baseLoad.EActAve baseLoad._typeOfDay[1] baseLoad.iSam[12] baseLoad.iSam[11] baseLoad.iSam[10] baseLoad.iSam[9] baseLoad.iSam[8] baseLoad.iSam[7] baseLoad.iSam[6] baseLoad.iSam[5] baseLoad.iSam[4] baseLoad.iSam[3] baseLoad.iSam[2] baseLoad.iSam[1] baseLoad.sampleTrigger baseLoad.adj equations: 1 : baseLoad.sampleTrigger = sample(1, baseLoad.samStart, 3600.0) 2 : algorithm when baseLoad.sampleTrigger then for i in 1:baseLoad.nPre loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], baseLoad.nSam); end for; baseLoad.adj := 1.0; baseLoad.PPreHisSet[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := false; baseLoad.PPreHis[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := 0.0; baseLoad.EHisAve := 0.0; baseLoad.EActAve := 0.0; for i in 1:12 loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], 24); end for; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.000908/1.073, allocations: 411.4 kB / 1.26 GB, free: 0.7109 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.