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.944/2.944, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001561/0.001561, allocations: 181.3 kB / 370.8 MB, free: 10.87 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.294/2.294, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001075/0.001075, allocations: 95.27 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006915/0.0006917, allocations: 16.31 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2552, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.00221/0.2575, allocations: 1.602 MB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2589, allocations: 0.6559 MB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.259, allocations: 0 / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.2591, allocations: 11.86 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.2593, allocations: 43.84 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2597, allocations: 123.8 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.26, allocations: 191.6 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.2602, allocations: 40.38 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2604, allocations: 107.7 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.2606, allocations: 131.5 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.2606, allocations: 16 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.213e-05/0.2607, allocations: 16 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.2608, allocations: 63.73 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.2609, allocations: 65.52 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.2611, allocations: 207.7 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2611, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2611, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2611, allocations: 0 / 0.9814 GB, free: 25.09 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.00157/0.2627, allocations: 0.6158 MB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2628, allocations: 12.03 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.2629, allocations: 27.72 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.263, allocations: 207.4 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.2632, allocations: 263.8 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.2633, allocations: 31.91 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.264, allocations: 265.7 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.264, allocations: 4 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.2641, allocations: 7.984 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2641, allocations: 4 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.2648, allocations: 191.8 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2663, allocations: 0.7738 MB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.267, allocations: 208.5 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.2671, allocations: 12.14 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007466/0.2678, allocations: 327.8 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.717e-06/0.2679, allocations: 0 / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001612/0.2695, allocations: 0.4959 MB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.2696, allocations: 118.8 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.2697, allocations: 171.5 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.2698, allocations: 41.7 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.2699, allocations: 121.2 kB / 0.9852 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.27, allocations: 150 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.2701, allocations: 12 kB / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.2702, allocations: 338.8 kB / 0.9856 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.2707, allocations: 153.2 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.2712, allocations: 256.7 kB / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.2717, allocations: 171.9 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2717, allocations: 0 / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001274/0.273, allocations: 493.5 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2731, allocations: 15.92 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2731, allocations: 4 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.2731, allocations: 8 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.2739, allocations: 95.83 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.2739, allocations: 4 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.2744, allocations: 75.59 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.2744, allocations: 20 kB / 0.9869 GB, free: 19.11 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.0002218/0.2747, allocations: 167.9 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.2747, allocations: 27.67 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.372e-05/0.2748, allocations: 33.86 kB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2749, allocations: 4.062 kB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2749, allocations: 4 kB / 0.9871 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2749, allocations: 8 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.2753, allocations: 353.2 kB / 0.9874 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2753, allocations: 0 / 0.9874 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.2761, allocations: 75.89 kB / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.2762, allocations: 4 kB / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.2762, allocations: 15.95 kB / 0.9875 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.2762, allocations: 7.984 kB / 0.9875 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2763, allocations: 3.938 kB / 0.9875 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.2779, allocations: 0.621 MB / 0.9882 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.278, allocations: 104.9 kB / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.2781, allocations: 8 kB / 0.9883 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.2785, allocations: 51.94 kB / 0.9883 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.2787, allocations: 35.95 kB / 0.9883 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.2788, allocations: 15.98 kB / 0.9884 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001069/0.2789, allocations: 129.2 kB / 0.9885 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2789, allocations: 0 / 0.9885 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004762/0.2794, allocations: 83.91 kB / 0.9886 GB, free: 17.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.0001823/0.2796, allocations: 123.2 kB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.2807, allocations: 386.6 kB / 0.989 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2807, allocations: 4 kB / 0.9891 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.2813, allocations: 183.7 kB / 0.9892 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2817, allocations: 40.3 kB / 0.9893 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2832, allocations: 0.699 MB / 0.9899 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2835, allocations: 0.7764 MB / 0.9907 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002911/0.2838, allocations: 38.95 kB / 0.9907 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.284, allocations: 39.38 kB / 0.9908 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.284, allocations: 0 / 0.9908 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.009149/0.2931, allocations: 3.02 MB / 0.9937 GB, free: 11.93 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)