Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.384/2.384, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 180.1 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 88.23 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004651, allocations: 16.25 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.4491, allocations: 132.3 MB / 1.028 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.4495, allocations: 71.95 kB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04296/0.4925, allocations: 8.807 MB / 1.037 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4925, allocations: 0 / 1.037 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.4926, allocations: 4 kB / 1.037 GB, free: 4.074 MB / 0.6823 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.001825/0.4944, allocations: 0.6185 MB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.4945, allocations: 16.03 kB / 1.037 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.4946, allocations: 35.56 kB / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.4948, allocations: 191.7 kB / 1.038 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.4951, allocations: 267.7 kB / 1.038 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.4952, allocations: 28 kB / 1.038 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.4961, allocations: 269.6 kB / 1.038 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.4961, allocations: 4 kB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.4962, allocations: 8 kB / 1.038 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4962, allocations: 4 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.497, allocations: 183.9 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.499, allocations: 0.8011 MB / 1.039 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.4999, allocations: 216.6 kB / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/0.4999, allocations: 4.188 kB / 1.039 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008855/0.5008, allocations: 319.4 kB / 1.04 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.937e-06/0.5009, allocations: 0 / 1.04 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.001878/0.5027, allocations: 497.4 kB / 1.04 GB, free: 380 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5029, allocations: 114.8 kB / 1.04 GB, free: 240 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.5031, allocations: 154.6 kB / 1.04 GB, free: 76 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.5032, allocations: 37.7 kB / 1.04 GB, free: 32 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.5033, allocations: 129.2 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.5035, allocations: 150 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.5036, allocations: 8 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5038, allocations: 346.8 kB / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.5043, allocations: 153.2 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.505, allocations: 260.7 kB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.5057, allocations: 167.9 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.5057, allocations: 0 / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001616/0.5073, allocations: 0.4893 MB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.5074, allocations: 11.98 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5074, allocations: 0 / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.5074, allocations: 8 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.5082, allocations: 103.8 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.5082, allocations: 8 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.5088, allocations: 71.66 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.5088, allocations: 20 kB / 1.042 GB, free: 14.08 MB / 0.698 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.0002911/0.5091, allocations: 167.8 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.5092, allocations: 23.72 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.5093, allocations: 33.86 kB / 1.042 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.5094, allocations: 8 kB / 1.042 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.5094, allocations: 4 kB / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.5094, allocations: 0 / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.51, allocations: 365.1 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.51, allocations: 0 / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/0.5109, allocations: 75.89 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.5109, allocations: 0 / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.511, allocations: 19.94 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.511, allocations: 3.984 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.511, allocations: 4 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.513, allocations: 0.6246 MB / 1.044 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.5132, allocations: 104.7 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.5133, allocations: 12 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.5137, allocations: 43.95 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.5139, allocations: 43.91 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.514, allocations: 15.98 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001497/0.5141, allocations: 121.2 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5142, allocations: 0 / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000523/0.5147, allocations: 84 kB / 1.044 GB, free: 12.24 MB / 0.698 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.0002622/0.515, allocations: 125.2 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.5164, allocations: 392.5 kB / 1.044 GB, free: 11.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.5164, allocations: 0 / 1.044 GB, free: 11.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006571/0.5171, allocations: 191.7 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.5175, allocations: 40.38 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.5193, allocations: 0.6976 MB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.5199, allocations: 0.7725 MB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003223/0.5202, allocations: 38.95 kB / 1.046 GB, free: 9.938 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.5204, allocations: 31.44 kB / 1.046 GB, free: 9.906 MB / 0.698 GB Notification: Performance of SimCode: time 3.386e-06/0.5204, allocations: 0 / 1.046 GB, free: 9.906 MB / 0.698 GB Notification: Performance of Templates: time 0.01071/0.5312, allocations: 3.037 MB / 1.049 GB, free: 6.902 MB / 0.698 GB