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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.988/2.988, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.002432/0.002432, allocations: 176.7 kB / 371 MB, free: 10.89 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.551/2.551, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009236/0.0009235, allocations: 92.45 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005331, allocations: 19.77 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002391/0.2412, allocations: 1.626 MB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2427, allocations: 0.6402 MB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2429, allocations: 8 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.2429, allocations: 11.81 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.2431, allocations: 35.69 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.2436, allocations: 119.8 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.2439, allocations: 287.1 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2441, allocations: 40.39 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.2443, allocations: 111.7 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.2445, allocations: 131.5 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.2446, allocations: 16 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.15e-05/0.2447, allocations: 16 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.2447, allocations: 55.8 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.2448, allocations: 69.52 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.2451, allocations: 211.7 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2451, allocations: 0 / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.035e-06/0.2451, allocations: 0 / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2451, allocations: 0 / 0.9817 GB, free: 24.99 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.001651/0.2468, allocations: 0.6119 MB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2468, allocations: 8.031 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.247, allocations: 27.72 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.2471, allocations: 203.5 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.2473, allocations: 267.7 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.2474, allocations: 39.89 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.2482, allocations: 261.7 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.2482, allocations: 4 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.2483, allocations: 8 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2483, allocations: 4 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.249, allocations: 183.9 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.2505, allocations: 0.7778 MB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.2513, allocations: 216.2 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.2517, allocations: 146.8 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.85e-05/0.2518, allocations: 8.188 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007656/0.2526, allocations: 323.6 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.446e-06/0.2526, allocations: 0 / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001624/0.2542, allocations: 491.2 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.2543, allocations: 118.7 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.2545, allocations: 175.5 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.2546, allocations: 37.7 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.2547, allocations: 117.2 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.2548, allocations: 153.9 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.2549, allocations: 16 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.255, allocations: 342.8 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.2555, allocations: 149.2 kB / 0.9862 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.256, allocations: 256.8 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.2565, allocations: 167.9 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2566, allocations: 4 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001355/0.2579, allocations: 0.4891 MB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.258, allocations: 4 kB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.258, allocations: 8 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.258, allocations: 4 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.2587, allocations: 103.8 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.2588, allocations: 4.703 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.2593, allocations: 67.66 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.2593, allocations: 28.06 kB / 0.9873 GB, free: 18.87 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.0002363/0.2596, allocations: 164.2 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.2596, allocations: 31.67 kB / 0.9874 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.2597, allocations: 29.88 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2598, allocations: 4 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.2598, allocations: 0 / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2598, allocations: 11.98 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.2602, allocations: 357.2 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2603, allocations: 0 / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.261, allocations: 75.89 kB / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.2611, allocations: 4 kB / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.2611, allocations: 11.95 kB / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.2611, allocations: 7.938 kB / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2612, allocations: 0 / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.2628, allocations: 0.5988 MB / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.2629, allocations: 104.9 kB / 0.9886 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.141e-05/0.263, allocations: 12 kB / 0.9886 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.2634, allocations: 51.86 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.2636, allocations: 43.97 kB / 0.9887 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.2637, allocations: 16 kB / 0.9887 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001064/0.2638, allocations: 129.1 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2638, allocations: 0 / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004472/0.2642, allocations: 79.91 kB / 0.9889 GB, free: 17.06 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.0001887/0.2644, allocations: 119.2 kB / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.2657, allocations: 398.8 kB / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2657, allocations: 0 / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.2663, allocations: 187.9 kB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.2668, allocations: 44.31 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2683, allocations: 0.7028 MB / 0.9903 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2686, allocations: 0.7686 MB / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002948/0.2689, allocations: 43.08 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.2691, allocations: 31.42 kB / 0.9912 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.213e-06/0.2691, allocations: 0 / 0.9912 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.009247/0.2783, allocations: 3.042 MB / 0.9941 GB, free: 11.7 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)