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.443/2.443, allocations: 253.2 MB / 260.6 MB, free: 7.465 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.001409/0.001409, allocations: 184.8 kB / 319.9 MB, free: 3.039 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.28/2.28, allocations: 205.5 MB / 0.5708 GB, free: 15.25 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.001555/0.001555, allocations: 93.69 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.087e-05, allocations: 12 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8976/1.102, allocations: 132.5 MB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/1.102, allocations: 72.2 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04128/1.143, allocations: 8.696 MB / 1.027 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.635e-06/1.143, allocations: 0 / 1.027 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.907e-05/1.143, allocations: 8 kB / 1.027 GB, free: 13.65 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.001761/1.145, allocations: 0.5953 MB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.145, allocations: 12.03 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/1.145, allocations: 27.72 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/1.146, allocations: 195.6 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/1.146, allocations: 259.7 kB / 1.028 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/1.146, allocations: 23.22 kB / 1.028 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000532/1.147, allocations: 130.9 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/1.147, allocations: 219.5 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.147, allocations: 3.75 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/1.147, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/1.147, allocations: 8 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/1.149, allocations: 0.7569 MB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/1.15, allocations: 180.2 kB / 1.029 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/1.15, allocations: 109.9 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/1.15, allocations: 15.23 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006668/1.151, allocations: 270.1 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.028e-06/1.151, allocations: 4 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0009162/1.152, allocations: 299.7 kB / 1.03 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/1.152, allocations: 121.9 kB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/1.152, allocations: 147.3 kB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/1.152, allocations: 33.58 kB / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/1.152, allocations: 112.5 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/1.153, allocations: 149.8 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/1.153, allocations: 3.938 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.153, allocations: 347.8 kB / 1.031 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/1.153, allocations: 114.9 kB / 1.031 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/1.154, allocations: 213.3 kB / 1.031 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/1.154, allocations: 143.6 kB / 1.031 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.154, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001714/1.156, allocations: 392.7 kB / 1.031 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/1.156, allocations: 11.98 kB / 1.031 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.156, allocations: 4 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-05/1.156, allocations: 4 kB / 1.031 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.157, allocations: 95.2 kB / 1.031 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/1.157, allocations: 12.14 kB / 1.031 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/1.158, allocations: 55.66 kB / 1.032 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/1.158, allocations: 22.12 kB / 1.032 GB, free: 9 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.0002765/1.158, allocations: 134.4 kB / 1.032 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/1.159, allocations: 27.72 kB / 1.032 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/1.159, allocations: 24.03 kB / 1.032 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.159, allocations: 8 kB / 1.032 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.159, allocations: 3.984 kB / 1.032 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.159, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/1.159, allocations: 308 kB / 1.032 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.16, allocations: 7.953 kB / 1.032 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.161, allocations: 75.14 kB / 1.032 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/1.161, allocations: 8 kB / 1.032 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/1.161, allocations: 11.17 kB / 1.032 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.161, allocations: 4 kB / 1.032 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.161, allocations: 0 / 1.032 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/1.163, allocations: 0.5258 MB / 1.033 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/1.163, allocations: 116.3 kB / 1.033 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.163, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/1.164, allocations: 39.95 kB / 1.033 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/1.164, allocations: 42.8 kB / 1.033 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/1.164, allocations: 19.55 kB / 1.033 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001763/1.164, allocations: 117.5 kB / 1.033 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.91e-07/1.164, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007771/1.165, allocations: 60.19 kB / 1.033 GB, free: 7.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.0003258/1.165, allocations: 120.3 kB / 1.033 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001302/1.167, allocations: 316.2 kB / 1.033 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.167, allocations: 4 kB / 1.033 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006492/1.167, allocations: 154.3 kB / 1.034 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/1.168, allocations: 31.61 kB / 1.034 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.17, allocations: 488.7 kB / 1.034 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/1.171, allocations: 0.7763 MB / 1.035 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000475/1.171, allocations: 39.45 kB / 1.035 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/1.171, allocations: 42.8 kB / 1.035 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/1.171, allocations: 0 / 1.035 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of Templates: time 0.01343/1.185, allocations: 2.822 MB / 1.038 GB, free: 3.023 MB / 0.6511 GB