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.SineInput.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.SineInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Predictors.Validation.SineInput") Notification: Performance of loadModel(Buildings): time 3.99/3.99, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.259e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.53, allocations: 98.7 MB / 0.6289 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/0.7811, allocations: 130.9 MB / 0.7567 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.7814, allocations: 87.78 kB / 0.7568 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07799/0.8594, allocations: 22.97 MB / 0.7793 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.94e-06/0.8595, allocations: 0 / 0.7793 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001023/0.8596, allocations: 68 kB / 0.7793 GB, free: 5.355 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: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.006728/0.8663, allocations: 3.562 MB / 0.7828 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.8664, allocations: 16.02 kB / 0.7828 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007558/0.8671, allocations: 359.7 kB / 0.7832 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.8699, allocations: 1.101 MB / 0.7842 GB, free: 212 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.87, allocations: 11.94 kB / 0.7842 GB, free: 200 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005312/0.8705, allocations: 212 kB / 0.7844 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005361/0.8711, allocations: 216.7 kB / 0.7846 GB, free: 15.77 MB / 0.6667 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.0007044/0.8718, allocations: 350.9 kB / 0.785 GB, free: 15.4 MB / 0.6667 GB Error: pre-optimization module clockPartitioning (simulation) failed.