Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01949/0.01949, allocations: 109.2 kB / 15.05 MB, free: 6.031 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.002355/0.002355, allocations: 189.2 kB / 15.95 MB, free: 5.965 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 2.025/2.025, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.226/2.226, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000807/0.0008072, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5587, allocations: 98.72 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.7647, allocations: 125.3 MB / 0.8057 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.765, allocations: 67.97 kB / 0.8058 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03725/0.8023, allocations: 8.705 MB / 0.8143 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.499e-06/0.8023, allocations: 0 / 0.8143 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.8023, allocations: 7.938 kB / 0.8143 GB, free: 8.102 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001416/0.8038, allocations: 0.6145 MB / 0.8149 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8038, allocations: 8.031 kB / 0.8149 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.8039, allocations: 35.62 kB / 0.8149 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.8041, allocations: 195.5 kB / 0.8151 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.8044, allocations: 267.8 kB / 0.8154 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.8045, allocations: 24 kB / 0.8154 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.8053, allocations: 273.7 kB / 0.8156 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.8053, allocations: 0 / 0.8156 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/0.8053, allocations: 12.2 kB / 0.8157 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.8054, allocations: 4 kB / 0.8157 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.806, allocations: 191.3 kB / 0.8158 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.8078, allocations: 0.7934 MB / 0.8166 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.8085, allocations: 219.2 kB / 0.8168 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.136e-05/0.8086, allocations: 20.16 kB / 0.8168 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007604/0.8093, allocations: 315.4 kB / 0.8171 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.911e-06/0.8094, allocations: 0 / 0.8171 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.001581/0.8109, allocations: 493.9 kB / 0.8176 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.8111, allocations: 118.8 kB / 0.8177 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.8113, allocations: 166.5 kB / 0.8179 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.8114, allocations: 41.7 kB / 0.8179 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.8115, allocations: 117.3 kB / 0.818 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.8117, allocations: 150 kB / 0.8182 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.8117, allocations: 8 kB / 0.8182 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.8119, allocations: 346.8 kB / 0.8185 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.8124, allocations: 157.2 kB / 0.8187 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.813, allocations: 248.9 kB / 0.8189 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.8135, allocations: 175.9 kB / 0.8191 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.334e-06/0.8135, allocations: 0 / 0.8191 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001362/0.8149, allocations: 497.4 kB / 0.8196 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.8149, allocations: 4 kB / 0.8196 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.815, allocations: 4 kB / 0.8196 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.815, allocations: 8 kB / 0.8196 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.8155, allocations: 103.8 kB / 0.8197 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.8156, allocations: 7.938 kB / 0.8197 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.816, allocations: 75.64 kB / 0.8197 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.8161, allocations: 20 kB / 0.8198 GB, free: 2.113 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.8163, allocations: 159.9 kB / 0.8199 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.8164, allocations: 35.62 kB / 0.82 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.401e-05/0.8165, allocations: 33.86 kB / 0.82 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.03e-06/0.8166, allocations: 7.938 kB / 0.82 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-06/0.8166, allocations: 0 / 0.82 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.8166, allocations: 7.984 kB / 0.82 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.8171, allocations: 353.2 kB / 0.8203 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.8172, allocations: 0 / 0.8203 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.8178, allocations: 75.89 kB / 0.8204 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.8178, allocations: 4 kB / 0.8204 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.8178, allocations: 19.98 kB / 0.8204 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/0.8179, allocations: 4 kB / 0.8204 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.237e-06/0.8179, allocations: 0 / 0.8204 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.8195, allocations: 0.6207 MB / 0.821 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8197, allocations: 104.8 kB / 0.8211 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.8197, allocations: 11.98 kB / 0.8212 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.8201, allocations: 43.97 kB / 0.8212 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.8202, allocations: 43.84 kB / 0.8212 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.8203, allocations: 15.98 kB / 0.8213 GB, free: 472 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001421/0.8204, allocations: 125.2 kB / 0.8214 GB, free: 348 kB / 0.6355 GB Notification: Performance of sort global known variables: time 6.9e-07/0.8204, allocations: 0 / 0.8214 GB, free: 348 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005069/0.821, allocations: 87.92 kB / 0.8215 GB, free: 260 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002365/0.8212, allocations: 127.3 kB / 0.8216 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.8224, allocations: 386.7 kB / 0.8219 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.811e-06/0.8224, allocations: 0 / 0.8219 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/0.823, allocations: 187.7 kB / 0.8221 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.8234, allocations: 44.59 kB / 0.8222 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.8249, allocations: 0.697 MB / 0.8228 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.8254, allocations: 0.7725 MB / 0.8236 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.8257, allocations: 39.16 kB / 0.8236 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.8259, allocations: 35.42 kB / 0.8237 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.69e-06/0.8259, allocations: 3.938 kB / 0.8237 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of Templates: time 0.01828/0.8442, allocations: 3.018 MB / 0.8266 GB, free: 10.93 MB / 0.6511 GB