Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.919/4.919, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 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.002501/0.002501, allocations: 357.7 kB / 0.6446 GB, free: 185.7 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.225/4.225, allocations: 410.7 MB / 1.113 GB, free: 6.086 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.001881/0.001881, allocations: 187.1 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006134/0.0006137, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7825, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.9788, allocations: 138.4 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.9791, allocations: 75.95 kB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03144/1.011, allocations: 6.918 MB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.685e-06/1.011, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.449e-05/1.011, allocations: 9.031 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.001988/1.013, allocations: 0.6283 MB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.013, allocations: 15.56 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/1.013, allocations: 27.72 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/1.013, allocations: 195.6 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/1.013, allocations: 267.8 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.013, allocations: 28.55 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.014, allocations: 273.2 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.015, allocations: 3.906 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/1.015, allocations: 8 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.015, allocations: 4 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/1.016, allocations: 191 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/1.018, allocations: 0.7951 MB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.019, allocations: 211.4 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/1.02, allocations: 140.8 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/1.02, allocations: 14.31 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008609/1.029, allocations: 307.7 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 6.752e-06/1.029, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.002262/1.031, allocations: 0.4942 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.031, allocations: 119.4 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/1.031, allocations: 172.2 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/1.031, allocations: 42.45 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/1.031, allocations: 117.3 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/1.032, allocations: 154.5 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/1.032, allocations: 15.25 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.032, allocations: 342.8 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005264/1.037, allocations: 149.2 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008034/1.038, allocations: 260.9 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/1.039, allocations: 166 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.039, allocations: 4.5 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005401/1.044, allocations: 0.4907 MB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/1.044, allocations: 4 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.044, allocations: 4 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/1.044, allocations: 4 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.045, allocations: 100.5 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/1.045, allocations: 8.594 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/1.046, allocations: 70.69 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/1.046, allocations: 27.98 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.0003041/1.046, allocations: 163.2 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.047, allocations: 24.22 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/1.047, allocations: 42.45 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.047, allocations: 4 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.047, allocations: 0.9062 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.047, allocations: 0 / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/1.047, allocations: 361.7 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.047, allocations: 7.938 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.048, allocations: 79.33 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.049, allocations: 4 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/1.049, allocations: 11.98 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/1.049, allocations: 4.766 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.049, allocations: 4 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/1.051, allocations: 0.5987 MB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/1.051, allocations: 100.8 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.051, allocations: 13.88 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/1.052, allocations: 45.64 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.052, allocations: 37.86 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/1.052, allocations: 19.98 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001681/1.052, allocations: 123.8 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.81e-07/1.052, allocations: 0 / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007659/1.053, allocations: 79.91 kB / 1.611 GB, free: 131.1 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.0002382/1.053, allocations: 129.9 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001592/1.055, allocations: 399.2 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.055, allocations: 1.281 kB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/1.056, allocations: 185.5 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/1.057, allocations: 48.16 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.00198/1.059, allocations: 0.7018 MB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/1.059, allocations: 0.7735 MB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004227/1.059, allocations: 33.5 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.06, allocations: 27.62 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/1.06, allocations: 0.625 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01206/1.072, allocations: 3.058 MB / 1.616 GB, free: 125.9 MB / 0.8542 GB