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.LinearInput.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.LinearInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Predictors.Validation.LinearInput") Notification: Performance of loadModel(Buildings): time 4.018/4.018, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.539e-05, allocations: 0 / 0.5325 GB, free: 1.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5474, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.7546, allocations: 131.3 MB / 0.7571 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.7549, allocations: 75.95 kB / 0.7572 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6443/1.399, allocations: 66.59 MB / 0.8222 GB, free: 137 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.383e-06/1.399, allocations: 0 / 0.8222 GB, free: 137 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001265/1.399, allocations: 117.5 kB / 0.8223 GB, free: 136.9 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1839 * Number of variables: 1839 Notification: Performance of Generate backend data structure: time 0.01115/1.411, allocations: 5.774 MB / 0.8279 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.411, allocations: 14.8 kB / 0.828 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.412, allocations: 0.628 MB / 0.8286 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004376/1.416, allocations: 1.805 MB / 0.8303 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/1.417, allocations: 13.56 kB / 0.8303 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007909/1.417, allocations: 374.3 kB / 0.8307 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006354/1.418, allocations: 279.9 kB / 0.831 GB, free: 134.2 MB / 0.6667 GB Error: An independent subset of the model has imbalanced number of equations (20) and variables (21). variables: integrator.y integrator.u TSam.y TSam.u TSam.firstTrigger TSam.sampleTrigger err.y err.u2 err.u1 to_degC.y to_degC.u PCon.y PCon.u2 PCon.u1 POffSet.y TOut.y baseLoad.TOut baseLoad.TOut_in_internal baseLoad.intTOut baseLoad.PPre[1] baseLoad.ECon equations: 1 : der(baseLoad.intTOut) = baseLoad.TOut_in_internal 2 : TOut.y = TOut.offset + (if time < TOut.startTime then 0.0 else if time < TOut.startTime + TOut.duration then (time - TOut.startTime) * TOut.height / TOut.duration else TOut.height) 3 : POffSet.y = POffSet.k 4 : PCon.y = PCon.k1 * PCon.u1 + PCon.k2 * PCon.u2 5 : to_degC.y = -273.15 + to_degC.u 6 : err.y = err.k1 * err.u1 + err.k2 * err.u2 7 : TSam.sampleTrigger = sample(4, TSam.startTime, TSam.samplePeriod) 8 : der(integrator.y) = integrator.k * integrator.u 9 : baseLoad.TOut = baseLoad.TOut_in_internal 10 : PCon.u1 = POffSet.y 11 : TOut.y = TSam.u 12 : TSam.y = baseLoad.TOut 13 : TSam.y = to_degC.u 14 : PCon.y = err.u2 15 : PCon.y = integrator.u 16 : baseLoad.ECon = integrator.y 17 : PCon.u2 = to_degC.y 18 : baseLoad.PPre[1] = err.u1 19 : when TSam.sampleTrigger then TSam.firstTrigger := time <= TSam.startTime + 0.5 * TSam.samplePeriod; end when; 20 : when {TSam.sampleTrigger, initial()} then TSam.y := TSam.u; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0007293/1.419, allocations: 469.6 kB / 0.8314 GB, free: 134.1 MB / 0.6667 GB Error: pre-optimization module clockPartitioning (simulation) failed.