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.872/1.872, allocations: 288.3 MB / 303.2 MB, free: 8.066 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.001189/0.001189, allocations: 171.7 kB / 371.8 MB, free: 10.29 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.794/1.794, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001023/0.001023, allocations: 94.66 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005877/0.0005879, allocations: 13.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3119, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001998/0.314, allocations: 1.606 MB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008362/0.3148, allocations: 0.6596 MB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.3149, allocations: 0 / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.315, allocations: 7.875 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3151, allocations: 47.83 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.3154, allocations: 115.8 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3156, allocations: 191.6 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.3158, allocations: 44.38 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3159, allocations: 111.6 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3161, allocations: 127.5 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.3161, allocations: 16 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.21e-05/0.3162, allocations: 16 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.3162, allocations: 63.8 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.3163, allocations: 61.58 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3164, allocations: 211.7 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3164, allocations: 0 / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3165, allocations: 0 / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3165, allocations: 0 / 0.9826 GB, free: 24.41 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.001005/0.3175, allocations: 0.6117 MB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3175, allocations: 8.031 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.3176, allocations: 31.7 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3177, allocations: 211.5 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.3179, allocations: 259.8 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.318, allocations: 35.89 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.3184, allocations: 253.8 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3184, allocations: 7.984 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.3185, allocations: 8 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3185, allocations: 4 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.3189, allocations: 195.8 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.3198, allocations: 0.7778 MB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.3203, allocations: 202.3 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.3203, allocations: 20.17 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/0.3208, allocations: 315.7 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.3208, allocations: 4 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0008736/0.3217, allocations: 0.4909 MB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.3218, allocations: 122.8 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3219, allocations: 175.4 kB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.3219, allocations: 45.69 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.322, allocations: 117.2 kB / 0.9864 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.3221, allocations: 150 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.3221, allocations: 8 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.3222, allocations: 342.8 kB / 0.9869 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.3224, allocations: 153.2 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.3227, allocations: 252.8 kB / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.323, allocations: 171.9 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.323, allocations: 0 / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007126/0.3237, allocations: 496.9 kB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3238, allocations: 7.953 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3238, allocations: 4 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3238, allocations: 8 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.3241, allocations: 99.83 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3242, allocations: 4 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.3244, allocations: 67.66 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3245, allocations: 23.98 kB / 0.9881 GB, free: 18.44 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.0001415/0.3246, allocations: 175.9 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3247, allocations: 23.72 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.3247, allocations: 37.81 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3248, allocations: 4 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3248, allocations: 8.062 kB / 0.9883 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3248, allocations: 0 / 0.9883 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.3251, allocations: 353.2 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3252, allocations: 0 / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.3255, allocations: 79.89 kB / 0.9887 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3256, allocations: 4 kB / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.3256, allocations: 15.98 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3256, allocations: 7.953 kB / 0.9888 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3256, allocations: 0 / 0.9888 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.3266, allocations: 0.6249 MB / 0.9894 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.3267, allocations: 104.7 kB / 0.9895 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.3267, allocations: 8 kB / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.327, allocations: 43.95 kB / 0.9895 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3271, allocations: 39.95 kB / 0.9896 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.3271, allocations: 15.98 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001202/0.3272, allocations: 129.2 kB / 0.9897 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3272, allocations: 0 / 0.9897 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003241/0.3276, allocations: 79.91 kB / 0.9898 GB, free: 16.59 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.0002334/0.3278, allocations: 120.1 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006778/0.3285, allocations: 400.2 kB / 0.9903 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3285, allocations: 0 / 0.9903 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.3288, allocations: 191.7 kB / 0.9905 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.3292, allocations: 32.17 kB / 0.9905 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3303, allocations: 0.7068 MB / 0.9912 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3306, allocations: 0.7686 MB / 0.9919 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.3308, allocations: 47.12 kB / 0.992 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3309, allocations: 31.44 kB / 0.992 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.331, allocations: 0 / 0.992 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.006502/0.3375, allocations: 3.028 MB / 0.995 GB, free: 11.25 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)