Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 289.7 MB / 302.2 MB, free: 2.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 185.1 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 93.2 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.851e-05, allocations: 4 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.273, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8059/1.079, allocations: 139.5 MB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/1.079, allocations: 70.77 kB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02014/1.099, allocations: 8.608 MB / 1.125 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.099, allocations: 0 / 1.125 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.837e-06/1.099, allocations: 8 kB / 1.125 GB, free: 39.38 MB / 0.7448 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.0008823/1.1, allocations: 0.5925 MB / 1.125 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.1, allocations: 12.03 kB / 1.125 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/1.1, allocations: 34.89 kB / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.101, allocations: 200 kB / 1.125 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.101, allocations: 264.7 kB / 1.126 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/1.101, allocations: 30.56 kB / 1.126 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/1.101, allocations: 252 kB / 1.126 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.101, allocations: 0 / 1.126 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/1.101, allocations: 11.08 kB / 1.126 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.101, allocations: 4 kB / 1.126 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/1.101, allocations: 146.4 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/1.102, allocations: 0.8045 MB / 1.127 GB, free: 37.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/1.103, allocations: 186 kB / 1.127 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/1.103, allocations: 109.9 kB / 1.127 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/1.103, allocations: 22.98 kB / 1.127 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/1.103, allocations: 285.6 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.583e-06/1.103, allocations: 0 / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0005178/1.104, allocations: 330 kB / 1.128 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.104, allocations: 125.7 kB / 1.128 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/1.104, allocations: 151.3 kB / 1.128 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/1.104, allocations: 43.81 kB / 1.128 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/1.104, allocations: 119.9 kB / 1.128 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/1.104, allocations: 148.2 kB / 1.128 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/1.104, allocations: 11.12 kB / 1.128 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/1.104, allocations: 346.9 kB / 1.129 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/1.105, allocations: 127.4 kB / 1.129 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/1.105, allocations: 235.5 kB / 1.129 GB, free: 35.56 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/1.105, allocations: 146.8 kB / 1.129 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.105, allocations: 4 kB / 1.129 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000553/1.106, allocations: 453.1 kB / 1.13 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.106, allocations: 4 kB / 1.13 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.106, allocations: 5.188 kB / 1.13 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.106, allocations: 4.656 kB / 1.13 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/1.106, allocations: 102.9 kB / 1.13 GB, free: 35.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.106, allocations: 4.859 kB / 1.13 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/1.106, allocations: 70.69 kB / 1.13 GB, free: 35.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/1.106, allocations: 22.5 kB / 1.13 GB, free: 35 MB / 0.7448 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 9.375e-05/1.106, allocations: 147.2 kB / 1.13 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/1.106, allocations: 27.62 kB / 1.13 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/1.106, allocations: 33.97 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.106, allocations: 12 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.107, allocations: 0 / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.107, allocations: 3.328 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/1.107, allocations: 363 kB / 1.13 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.107, allocations: 0 / 1.13 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/1.107, allocations: 78.92 kB / 1.13 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.107, allocations: 3.375 kB / 1.13 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/1.107, allocations: 14.12 kB / 1.13 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.107, allocations: 3.938 kB / 1.13 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.107, allocations: 8 kB / 1.13 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/1.108, allocations: 0.5496 MB / 1.131 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/1.108, allocations: 101.5 kB / 1.131 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/1.108, allocations: 14.77 kB / 1.131 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/1.108, allocations: 42.72 kB / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/1.108, allocations: 40.98 kB / 1.131 GB, free: 33.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.108, allocations: 19.05 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.015e-05/1.108, allocations: 127.6 kB / 1.131 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.108, allocations: 0 / 1.131 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000277/1.109, allocations: 89.64 kB / 1.131 GB, free: 33.68 MB / 0.7448 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.0001716/1.109, allocations: 124.3 kB / 1.131 GB, free: 33.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000449/1.109, allocations: 340.2 kB / 1.132 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.109, allocations: 0 / 1.132 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/1.11, allocations: 168.8 kB / 1.132 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/1.11, allocations: 33.41 kB / 1.132 GB, free: 33.19 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/1.111, allocations: 0.5088 MB / 1.132 GB, free: 32.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/1.111, allocations: 0.7739 MB / 1.133 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000152/1.111, allocations: 42.05 kB / 1.133 GB, free: 31.99 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/1.111, allocations: 31.44 kB / 1.133 GB, free: 31.96 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.111, allocations: 0 / 1.133 GB, free: 31.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.005239/1.116, allocations: 3.042 MB / 1.136 GB, free: 30.26 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)