Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.821/4.821, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.002525, allocations: 360.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.194/4.194, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 174 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005197, allocations: 20 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7174, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.925, allocations: 138.4 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.9253, allocations: 78.39 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03006/0.9554, allocations: 6.92 MB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9554, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.9555, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 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.001683/0.9572, allocations: 0.635 MB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9572, allocations: 16.31 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.9574, allocations: 27.72 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.9575, allocations: 192.9 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.9577, allocations: 263.8 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.9578, allocations: 28 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.9585, allocations: 269.3 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.9586, allocations: 3.906 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.9586, allocations: 8 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.9586, allocations: 7.938 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.9593, allocations: 190 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.9609, allocations: 0.8035 MB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.9616, allocations: 207.8 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.962, allocations: 140.2 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.9621, allocations: 13.52 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007387/0.9629, allocations: 308.3 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 3.076e-06/0.9629, allocations: 2.219 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001553/0.9645, allocations: 498.6 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.9645, allocations: 123.8 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.9647, allocations: 171.5 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.9648, allocations: 45.69 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.9648, allocations: 118.8 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.965, allocations: 145.9 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.965, allocations: 16 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.9651, allocations: 347.3 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.9656, allocations: 151 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.9661, allocations: 257.1 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.9667, allocations: 170.2 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9667, allocations: 2.031 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001266/0.968, allocations: 498.8 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.968, allocations: 8 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.968, allocations: 4 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.9681, allocations: 4.531 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.9688, allocations: 100.9 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.9688, allocations: 8 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.9693, allocations: 74.83 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.9694, allocations: 24 kB / 1.609 GB, free: 132.8 MB / 0.8542 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.0002264/0.9696, allocations: 163.5 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.9697, allocations: 23.72 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.9698, allocations: 37.8 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.9698, allocations: 9.875 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9698, allocations: 0 / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.9698, allocations: 3.984 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.9703, allocations: 359.6 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9703, allocations: 3.938 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/0.9711, allocations: 79.89 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.9711, allocations: 4 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.9712, allocations: 11.98 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.9712, allocations: 0.5938 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9712, allocations: 4 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.9729, allocations: 0.6004 MB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.973, allocations: 100.8 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.973, allocations: 12 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.9735, allocations: 46.48 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.9736, allocations: 37.89 kB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.9737, allocations: 19.98 kB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001076/0.9738, allocations: 123.8 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9738, allocations: 0 / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004597/0.9743, allocations: 85.17 kB / 1.611 GB, free: 131 MB / 0.8542 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.0002104/0.9745, allocations: 119.7 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.9757, allocations: 393.5 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9757, allocations: 1.031 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.9763, allocations: 199.6 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.9767, allocations: 44.77 kB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.9782, allocations: 0.7034 MB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.9784, allocations: 0.772 MB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.9788, allocations: 33.91 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.9789, allocations: 36.89 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.979, allocations: 3.938 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.008944/0.9879, allocations: 3.042 MB / 1.616 GB, free: 125.8 MB / 0.8542 GB