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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.482/2.482, allocations: 252.6 MB / 265.2 MB, free: 5.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002198/0.002197, allocations: 175.9 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.5754 GB, free: 10.42 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.001105/0.001104, allocations: 94.2 kB / 0.6797 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.123e-05, allocations: 8 kB / 0.7912 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2045, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8788/1.083, allocations: 132.2 MB / 1.024 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.084, allocations: 70.45 kB / 1.024 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0434/1.127, allocations: 8.757 MB / 1.033 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.604e-06/1.127, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.651e-05/1.127, allocations: 4 kB / 1.033 GB, free: 10.95 MB / 0.6511 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.001826/1.129, allocations: 0.6033 MB / 1.033 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/1.129, allocations: 12.03 kB / 1.033 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/1.129, allocations: 27.72 kB / 1.033 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/1.13, allocations: 195.6 kB / 1.033 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/1.13, allocations: 264.2 kB / 1.034 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.976e-05/1.13, allocations: 30.09 kB / 1.034 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/1.131, allocations: 247.8 kB / 1.034 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.131, allocations: 4 kB / 1.034 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/1.131, allocations: 10.12 kB / 1.034 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.131, allocations: 4 kB / 1.034 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/1.131, allocations: 146.1 kB / 1.034 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.133, allocations: 0.8027 MB / 1.035 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/1.134, allocations: 185.2 kB / 1.035 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/1.135, allocations: 119.4 kB / 1.035 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/1.135, allocations: 11.62 kB / 1.035 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007345/1.135, allocations: 292 kB / 1.036 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.837e-06/1.135, allocations: 0 / 1.036 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001055/1.136, allocations: 329.1 kB / 1.036 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.137, allocations: 122.2 kB / 1.036 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/1.137, allocations: 159.9 kB / 1.036 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.824e-05/1.137, allocations: 40.08 kB / 1.036 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.137, allocations: 114.9 kB / 1.036 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.137, allocations: 153.7 kB / 1.036 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/1.137, allocations: 13.62 kB / 1.036 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.138, allocations: 349.2 kB / 1.037 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/1.138, allocations: 126.2 kB / 1.037 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/1.139, allocations: 231.2 kB / 1.037 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/1.139, allocations: 147.3 kB / 1.037 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.139, allocations: 0 / 1.037 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001224/1.14, allocations: 452.8 kB / 1.038 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.14, allocations: 12.92 kB / 1.038 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.14, allocations: 0 / 1.038 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/1.14, allocations: 8 kB / 1.038 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/1.141, allocations: 99.39 kB / 1.038 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.141, allocations: 8.703 kB / 1.038 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/1.142, allocations: 64.47 kB / 1.038 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/1.142, allocations: 27.88 kB / 1.038 GB, free: 6.094 MB / 0.6511 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 () * 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.0002244/1.142, allocations: 148.2 kB / 1.038 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-05/1.142, allocations: 27.66 kB / 1.038 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/1.142, allocations: 34.53 kB / 1.038 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/1.142, allocations: 4 kB / 1.038 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.142, allocations: 0 / 1.038 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/1.142, allocations: 7.984 kB / 1.038 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/1.143, allocations: 359.6 kB / 1.038 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.143, allocations: 4 kB / 1.038 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/1.144, allocations: 75.89 kB / 1.038 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/1.144, allocations: 4 kB / 1.038 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/1.144, allocations: 11.12 kB / 1.039 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/1.144, allocations: 4 kB / 1.039 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.144, allocations: 0 / 1.039 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/1.146, allocations: 0.5663 MB / 1.039 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.146, allocations: 108.7 kB / 1.039 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/1.146, allocations: 9.938 kB / 1.039 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/1.146, allocations: 46.78 kB / 1.039 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.147, allocations: 41.64 kB / 1.039 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/1.147, allocations: 10.38 kB / 1.039 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001514/1.147, allocations: 131.5 kB / 1.039 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.147, allocations: 0 / 1.039 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005468/1.147, allocations: 78.38 kB / 1.039 GB, free: 4.621 MB / 0.6511 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 () * 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.0002571/1.148, allocations: 120.5 kB / 1.04 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001053/1.149, allocations: 355.9 kB / 1.04 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.149, allocations: 0 / 1.04 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005074/1.149, allocations: 167.1 kB / 1.04 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/1.15, allocations: 36 kB / 1.04 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/1.151, allocations: 0.5068 MB / 1.041 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/1.152, allocations: 0.7764 MB / 1.041 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000357/1.152, allocations: 39.14 kB / 1.041 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.152, allocations: 39.17 kB / 1.041 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/1.152, allocations: 3.938 kB / 1.041 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of Templates: time 0.01149/1.164, allocations: 3.037 MB / 1.044 GB, free: 15.77 MB / 0.6667 GB