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.749/1.749, allocations: 285.4 MB / 298 MB, free: 5.957 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.001389/0.001388, allocations: 176.9 kB / 366.4 MB, free: 2.102 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.641/1.641, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008227/0.0008226, allocations: 99.38 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.207e-05/5.218e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6435, allocations: 115.3 MB / 0.9709 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.8111, allocations: 138.5 MB / 1.106 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.8114, allocations: 64.75 kB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/0.8351, allocations: 8.619 MB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8351, allocations: 0 / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.8352, allocations: 4 kB / 1.115 GB, free: 4.656 MB / 0.7136 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.001151/0.8363, allocations: 0.6065 MB / 1.115 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8364, allocations: 8.031 kB / 1.115 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.8365, allocations: 35 kB / 1.115 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.8367, allocations: 191.6 kB / 1.115 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.8369, allocations: 263.8 kB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.8369, allocations: 33.77 kB / 1.116 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.8374, allocations: 237.8 kB / 1.116 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.8374, allocations: 7.906 kB / 1.116 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.8374, allocations: 11.95 kB / 1.116 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8374, allocations: 8 kB / 1.116 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.8377, allocations: 143.9 kB / 1.116 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.8389, allocations: 0.796 MB / 1.117 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.8393, allocations: 188.3 kB / 1.117 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.8395, allocations: 123.2 kB / 1.117 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.8395, allocations: 8.172 kB / 1.117 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.84, allocations: 299.7 kB / 1.118 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.966e-06/0.84, allocations: 0 / 1.118 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0005959/0.8406, allocations: 331.5 kB / 1.118 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.8406, allocations: 114.8 kB / 1.118 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.8408, allocations: 162.5 kB / 1.118 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.8408, allocations: 43.11 kB / 1.118 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.8409, allocations: 117.3 kB / 1.118 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.841, allocations: 146 kB / 1.118 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.8411, allocations: 12 kB / 1.118 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8412, allocations: 346.8 kB / 1.119 GB, free: 160 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.8414, allocations: 129.6 kB / 1.119 GB, free: 32 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.8417, allocations: 230.1 kB / 1.119 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.842, allocations: 145.2 kB / 1.119 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.842, allocations: 0 / 1.119 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006631/0.8426, allocations: 455.2 kB / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8427, allocations: 8 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8427, allocations: 8 kB / 1.12 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.8427, allocations: 6.375 kB / 1.12 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.8431, allocations: 95.83 kB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.8431, allocations: 8 kB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.8434, allocations: 77.56 kB / 1.12 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.8435, allocations: 23.98 kB / 1.12 GB, free: 14.97 MB / 0.7292 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 () * 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.000122/0.8436, allocations: 140.1 kB / 1.12 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.8436, allocations: 31.62 kB / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.8437, allocations: 29.66 kB / 1.12 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8437, allocations: 7.984 kB / 1.12 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8437, allocations: 0 / 1.12 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.8437, allocations: 4 kB / 1.12 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.8441, allocations: 369.1 kB / 1.12 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8441, allocations: 96 / 1.12 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.8445, allocations: 75.89 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.8445, allocations: 7.984 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.8446, allocations: 8 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.8446, allocations: 4 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8446, allocations: 3.984 kB / 1.121 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.8455, allocations: 0.5583 MB / 1.121 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.8456, allocations: 104.8 kB / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.8456, allocations: 15.06 kB / 1.121 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.8459, allocations: 43.97 kB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.846, allocations: 42.84 kB / 1.121 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.8461, allocations: 16 kB / 1.121 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.628e-05/0.8462, allocations: 125.2 kB / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8462, allocations: 0 / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003476/0.8465, allocations: 83.95 kB / 1.121 GB, free: 13.22 MB / 0.7292 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 () * 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.0003006/0.8468, allocations: 123.3 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006561/0.8475, allocations: 349.6 kB / 1.122 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.8475, allocations: 4 kB / 1.122 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.8478, allocations: 162.5 kB / 1.122 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.8481, allocations: 32.16 kB / 1.122 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009391/0.849, allocations: 0.5029 MB / 1.123 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.8494, allocations: 0.7725 MB / 1.123 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.8495, allocations: 38.97 kB / 1.123 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.8496, allocations: 31.42 kB / 1.123 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.8496, allocations: 0 / 1.123 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.006601/0.8563, allocations: 3.046 MB / 1.126 GB, free: 8.199 MB / 0.7292 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)