Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.657/2.657, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001403/0.001402, allocations: 185 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.247/2.247, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009434/0.0009435, allocations: 92.08 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006988/0.0006991, allocations: 13.25 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2467, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.00234/0.2491, allocations: 1.618 MB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2506, allocations: 0.648 MB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2508, allocations: 4 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.2508, allocations: 11.81 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.251, allocations: 35.69 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.2515, allocations: 119.8 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.2519, allocations: 295.1 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2521, allocations: 32.39 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.2523, allocations: 111.7 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.2526, allocations: 131.5 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.2526, allocations: 16 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.2527, allocations: 20 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.2528, allocations: 59.8 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.2529, allocations: 61.58 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.2531, allocations: 211.7 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2531, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2532, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2532, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 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.001802/0.255, allocations: 0.614 MB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2551, allocations: 16 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.2552, allocations: 31.72 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2553, allocations: 199.5 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.2556, allocations: 259.8 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.2557, allocations: 35.89 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.2564, allocations: 261.7 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.2565, allocations: 7.984 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.2565, allocations: 15.98 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/0.2566, allocations: 4 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.2573, allocations: 179.9 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.2588, allocations: 0.7894 MB / 0.984 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.2595, allocations: 212.3 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.26, allocations: 142.8 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.26, allocations: 8.188 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000776/0.2608, allocations: 319.6 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.757e-06/0.2608, allocations: 0 / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001622/0.2625, allocations: 495.2 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.2626, allocations: 122.7 kB / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2628, allocations: 175.5 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.2628, allocations: 37.7 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.2629, allocations: 125.2 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.263, allocations: 153.9 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.2631, allocations: 12 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.2632, allocations: 334.8 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.2637, allocations: 153.2 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.2642, allocations: 253.6 kB / 0.9864 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.2648, allocations: 171.9 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2648, allocations: 4 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001369/0.2662, allocations: 497.4 kB / 0.9871 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2662, allocations: 4 kB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2663, allocations: 4.156 kB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.2663, allocations: 8 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.267, allocations: 103.8 kB / 0.9872 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.267, allocations: 7.984 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.2675, allocations: 67.66 kB / 0.9872 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.2676, allocations: 20 kB / 0.9873 GB, free: 18.85 MB / 0.6198 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.0002296/0.2678, allocations: 164.2 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.2679, allocations: 35.66 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.268, allocations: 33.88 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.966e-06/0.268, allocations: 4 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.268, allocations: 64 / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2681, allocations: 11.98 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.2685, allocations: 357.2 kB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2685, allocations: 0 / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007849/0.2693, allocations: 71.89 kB / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.2694, allocations: 7.938 kB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.2694, allocations: 15.95 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.2694, allocations: 8 kB / 0.9879 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2694, allocations: 0 / 0.9879 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2711, allocations: 0.5901 MB / 0.9885 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.2712, allocations: 108.8 kB / 0.9886 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.2713, allocations: 8.188 kB / 0.9886 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.2717, allocations: 47.92 kB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.2719, allocations: 47.91 kB / 0.9887 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.2719, allocations: 16 kB / 0.9887 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001085/0.2721, allocations: 129.1 kB / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2721, allocations: 0 / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004609/0.2725, allocations: 83.91 kB / 0.9889 GB, free: 17.03 MB / 0.6198 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.0001996/0.2728, allocations: 121.2 kB / 0.9891 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.274, allocations: 390.6 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.274, allocations: 3.938 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.2746, allocations: 191.7 kB / 0.9896 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.2751, allocations: 40.16 kB / 0.9897 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2767, allocations: 0.7017 MB / 0.9903 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.277, allocations: 0.7647 MB / 0.9911 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.2773, allocations: 35.16 kB / 0.9911 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.2775, allocations: 43.36 kB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of SimCode: time 1.703e-06/0.2775, allocations: 0 / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.009975/0.2875, allocations: 3.041 MB / 0.9941 GB, free: 11.68 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)