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_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001182/0.001182, allocations: 190 kB / 371.9 MB, free: 10.26 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.884/1.884, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.001047/0.001047, allocations: 101.1 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005547, allocations: 14.22 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3021, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002287/0.3045, allocations: 1.606 MB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3056, allocations: 0.6596 MB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3058, allocations: 4 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.3058, allocations: 15.8 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.306, allocations: 39.91 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.3064, allocations: 115.8 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.3067, allocations: 191.6 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3068, allocations: 40.39 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.3071, allocations: 107.7 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.3072, allocations: 135.5 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.3073, allocations: 15.94 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.3074, allocations: 16 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.3074, allocations: 63.8 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.3075, allocations: 65.58 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3077, allocations: 199.8 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3077, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3077, allocations: 3.984 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3078, allocations: 4 kB / 0.9826 GB, free: 24.38 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.001359/0.3091, allocations: 0.6116 MB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3092, allocations: 12.02 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.3093, allocations: 27.72 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3094, allocations: 211.4 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.3097, allocations: 267.7 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.3097, allocations: 27.91 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.3104, allocations: 261.8 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3104, allocations: 0 / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.3104, allocations: 8 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3105, allocations: 8 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.311, allocations: 187.8 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3123, allocations: 0.7895 MB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.3128, allocations: 208.2 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.3129, allocations: 20.5 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000635/0.3136, allocations: 315.5 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.3136, allocations: 4 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001312/0.3149, allocations: 498.7 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.315, allocations: 130.7 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3152, allocations: 171.5 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.3152, allocations: 41.7 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.3153, allocations: 117.2 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3154, allocations: 150 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3155, allocations: 12 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3156, allocations: 338.8 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.316, allocations: 157.2 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.3164, allocations: 252.8 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.3168, allocations: 167.9 kB / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3169, allocations: 0 / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001067/0.3179, allocations: 497.5 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.318, allocations: 11.95 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.318, allocations: 0 / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.318, allocations: 8 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.3186, allocations: 99.83 kB / 0.988 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.3186, allocations: 7.984 kB / 0.988 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.319, allocations: 71.66 kB / 0.9881 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.319, allocations: 27.94 kB / 0.9881 GB, free: 18.38 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.0001793/0.3192, allocations: 159.9 kB / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.3193, allocations: 23.72 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.3194, allocations: 37.81 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3194, allocations: 8 kB / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3194, allocations: 0 / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3194, allocations: 3.984 kB / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.3199, allocations: 349.3 kB / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3199, allocations: 0 / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.3204, allocations: 87.88 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3205, allocations: 0 / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.3205, allocations: 19.98 kB / 0.9888 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3205, allocations: 3.953 kB / 0.9888 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3205, allocations: 0 / 0.9888 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.3219, allocations: 0.621 MB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3219, allocations: 104.7 kB / 0.9895 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.322, allocations: 12.05 kB / 0.9895 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.3224, allocations: 47.97 kB / 0.9895 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3225, allocations: 40.14 kB / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.3225, allocations: 11.98 kB / 0.9896 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.915e-05/0.3226, allocations: 133.1 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3226, allocations: 0 / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004716/0.3231, allocations: 83.89 kB / 0.9898 GB, free: 16.54 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.0001833/0.3233, allocations: 119.3 kB / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009212/0.3243, allocations: 394.5 kB / 0.9903 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3243, allocations: 0 / 0.9903 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.3247, allocations: 195.7 kB / 0.9905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3251, allocations: 28.69 kB / 0.9905 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3264, allocations: 0.7101 MB / 0.9912 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.3266, allocations: 0.7725 MB / 0.992 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.3269, allocations: 34.97 kB / 0.992 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.327, allocations: 31.44 kB / 0.992 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.327, allocations: 4 kB / 0.992 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.00751/0.3345, allocations: 3.027 MB / 0.995 GB, free: 11.21 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)