Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.001782/0.001782, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.802/1.802, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007954/0.0007953, allocations: 82.36 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 18.42 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3142, allocations: 115.3 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002226/0.3165, allocations: 1.626 MB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3175, allocations: 0.6555 MB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.3176, allocations: 4 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.3177, allocations: 11.86 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.3178, allocations: 31.7 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.3182, allocations: 123.8 kB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.3185, allocations: 287.2 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.3186, allocations: 40.38 kB / 0.9829 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3188, allocations: 103.7 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.319, allocations: 135.5 kB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.319, allocations: 19.94 kB / 0.9831 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.319, allocations: 16 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.3191, allocations: 63.78 kB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3192, allocations: 137.1 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3194, allocations: 203.7 kB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3194, allocations: 4 kB / 0.9835 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3194, allocations: 0 / 0.9835 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3195, allocations: 0 / 0.9835 GB, free: 23.83 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.001051/0.3205, allocations: 0.6118 MB / 0.9841 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3206, allocations: 12.03 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.3206, allocations: 32.64 kB / 0.9841 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3208, allocations: 204.7 kB / 0.9843 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.321, allocations: 264.2 kB / 0.9846 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.321, allocations: 32.36 kB / 0.9846 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.3215, allocations: 265.9 kB / 0.9849 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3215, allocations: 3.906 kB / 0.9849 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.3215, allocations: 7.984 kB / 0.9849 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3216, allocations: 8 kB / 0.9849 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.322, allocations: 193.4 kB / 0.9851 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.3229, allocations: 0.7815 MB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3234, allocations: 209.4 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.3236, allocations: 138.5 kB / 0.9862 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.3237, allocations: 11.94 kB / 0.9862 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/0.3241, allocations: 319.8 kB / 0.9865 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.3242, allocations: 0 / 0.9865 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0008804/0.325, allocations: 0.4941 MB / 0.987 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3251, allocations: 122.8 kB / 0.9871 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3253, allocations: 175.5 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.3253, allocations: 41.7 kB / 0.9873 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.3254, allocations: 117.2 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3255, allocations: 153.9 kB / 0.9876 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.3255, allocations: 8 kB / 0.9876 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.3256, allocations: 338.8 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.3259, allocations: 157.2 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.3262, allocations: 248.8 kB / 0.9883 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.3267, allocations: 410 kB / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3267, allocations: 0 / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006856/0.3274, allocations: 0.4895 MB / 0.9891 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3275, allocations: 13.88 kB / 0.9892 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.3275, allocations: 0 / 0.9892 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.3275, allocations: 8 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.3278, allocations: 95.83 kB / 0.9893 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.3279, allocations: 7.938 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.3281, allocations: 75.59 kB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3282, allocations: 19.98 kB / 0.9894 GB, free: 17.43 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.0001399/0.3283, allocations: 160.8 kB / 0.9895 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.3283, allocations: 27.66 kB / 0.9895 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.3284, allocations: 33.86 kB / 0.9896 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3284, allocations: 8.078 kB / 0.9896 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3284, allocations: 4 kB / 0.9896 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3285, allocations: 4 kB / 0.9896 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3288, allocations: 357.2 kB / 0.9899 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3288, allocations: 0 / 0.9899 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.3291, allocations: 83.83 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3291, allocations: 0 / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.3292, allocations: 11.98 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3292, allocations: 4 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3292, allocations: 0 / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.3301, allocations: 0.6018 MB / 0.9906 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.3302, allocations: 104.7 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.3302, allocations: 8 kB / 0.9907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3304, allocations: 47.95 kB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3306, allocations: 55.92 kB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3306, allocations: 12 kB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.247e-05/0.3307, allocations: 129.2 kB / 0.9909 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3307, allocations: 192 / 0.9909 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002843/0.331, allocations: 83.89 kB / 0.991 GB, free: 15.61 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.0001916/0.3312, allocations: 125.2 kB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.3319, allocations: 394.6 kB / 0.9915 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3319, allocations: 0 / 0.9915 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.3322, allocations: 211.7 kB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3326, allocations: 47.91 kB / 0.9918 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3336, allocations: 0.7095 MB / 0.9925 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.3338, allocations: 0.7647 MB / 0.9932 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.334, allocations: 34.97 kB / 0.9932 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3341, allocations: 35.42 kB / 0.9933 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3341, allocations: 0 / 0.9933 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.006173/0.3403, allocations: 3.292 MB / 0.9965 GB, free: 9.977 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)