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.864/1.864, allocations: 288.4 MB / 303.4 MB, free: 8.09 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.001255/0.001255, allocations: 183.1 kB / 372 MB, free: 10.24 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.767/1.767, allocations: 205.4 MB / 0.6307 GB, free: 9.863 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.0008259/0.0008262, allocations: 101.1 kB / 0.7441 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004279, allocations: 17.3 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2422, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002128/0.2443, allocations: 1.614 MB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2455, allocations: 0.6556 MB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.2457, allocations: 0 / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.2458, allocations: 11.81 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.2459, allocations: 39.7 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.2464, allocations: 115.8 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.2467, allocations: 295.1 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2469, allocations: 40.39 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.2471, allocations: 107.7 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.2473, allocations: 127.5 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.2474, allocations: 16 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-05/0.2474, allocations: 15.94 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.2475, allocations: 59.8 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.2475, allocations: 69.58 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.2477, allocations: 211.7 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2477, allocations: 0 / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2477, allocations: 0 / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.2478, allocations: 4 kB / 0.9829 GB, free: 24.21 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.001198/0.249, allocations: 0.6078 MB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.249, allocations: 12.02 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2491, allocations: 35.72 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2493, allocations: 203.4 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.2494, allocations: 263.8 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.2495, allocations: 35.91 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.25, allocations: 265.6 kB / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.25, allocations: 4 kB / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.25, allocations: 11.98 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2501, allocations: 8 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.2505, allocations: 183.9 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.2515, allocations: 0.7817 MB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.2519, allocations: 212.2 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.2522, allocations: 138.9 kB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.2522, allocations: 8.188 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.2527, allocations: 331.5 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.755e-06/0.2527, allocations: 4 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0009192/0.2536, allocations: 490.7 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.2537, allocations: 118.8 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2538, allocations: 175.5 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.2539, allocations: 37.7 kB / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.2539, allocations: 117.2 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.254, allocations: 146 kB / 0.9869 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.2541, allocations: 12 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.2541, allocations: 350.7 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.2544, allocations: 153.2 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.2547, allocations: 256.8 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.2551, allocations: 163.9 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2551, allocations: 0 / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007598/0.2558, allocations: 0.4897 MB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2559, allocations: 11.95 kB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2559, allocations: 4 kB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.2559, allocations: 4 kB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.2563, allocations: 103.8 kB / 0.9884 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.2563, allocations: 8 kB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.2566, allocations: 63.66 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.2567, allocations: 24 kB / 0.9885 GB, free: 18.09 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.0001735/0.2569, allocations: 159.9 kB / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.2569, allocations: 27.7 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.257, allocations: 33.92 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.257, allocations: 11.98 kB / 0.9887 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.257, allocations: 0 / 0.9887 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.257, allocations: 3.984 kB / 0.9887 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.2573, allocations: 357.2 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2574, allocations: 3.938 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.2577, allocations: 79.97 kB / 0.9891 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.2577, allocations: 8 kB / 0.9892 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.2578, allocations: 11.98 kB / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2578, allocations: 7.891 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2578, allocations: 4 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.2587, allocations: 0.5951 MB / 0.9898 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.2588, allocations: 100.8 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.2588, allocations: 15.98 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.259, allocations: 43.97 kB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.2591, allocations: 47.92 kB / 0.99 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.2592, allocations: 16 kB / 0.99 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.2593, allocations: 133.1 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2593, allocations: 0 / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002942/0.2596, allocations: 75.91 kB / 0.9902 GB, free: 16.27 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.00016/0.2597, allocations: 119.2 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000623/0.2604, allocations: 390.6 kB / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2604, allocations: 0 / 0.9907 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.2607, allocations: 187.9 kB / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.261, allocations: 50.06 kB / 0.9909 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.2619, allocations: 0.7133 MB / 0.9916 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2621, allocations: 0.7647 MB / 0.9923 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000151/0.2623, allocations: 34.97 kB / 0.9924 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.2624, allocations: 31.44 kB / 0.9924 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.2624, allocations: 0 / 0.9924 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.005333/0.2677, allocations: 3.045 MB / 0.9954 GB, free: 10.93 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)