Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Predictors.Validation.ConstantInput.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.18/4.18, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.166e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.536, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.7365, allocations: 129.9 MB / 0.7557 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.7368, allocations: 75.95 kB / 0.7558 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07393/0.8107, allocations: 22.21 MB / 0.7775 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.986e-06/0.8108, allocations: 0 / 0.7775 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001045/0.8109, allocations: 72.19 kB / 0.7776 GB, free: 7.258 MB / 0.6511 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.006604/0.8175, allocations: 3.521 MB / 0.781 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.8176, allocations: 12.02 kB / 0.781 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.8184, allocations: 351.7 kB / 0.7813 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.8211, allocations: 1.095 MB / 0.7824 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.8211, allocations: 8 kB / 0.7824 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/0.8216, allocations: 212 kB / 0.7826 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00045/0.8221, allocations: 184.4 kB / 0.7828 GB, free: 1.77 MB / 0.6511 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.0006727/0.8228, allocations: 340.7 kB / 0.7831 GB, free: 1.406 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.