Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005295, allocations: 16.44 kB / 0.6737 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2415, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002215/0.2437, allocations: 1.626 MB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2449, allocations: 0.6518 MB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.245, allocations: 4 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.2451, allocations: 11.86 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2452, allocations: 31.72 kB / 0.7896 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.2457, allocations: 123.7 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.246, allocations: 291.1 kB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2462, allocations: 36.38 kB / 0.79 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2464, allocations: 115.7 kB / 0.7901 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.2466, allocations: 131.5 kB / 0.7902 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.2466, allocations: 16 kB / 0.7903 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.2467, allocations: 16 kB / 0.7903 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.2467, allocations: 55.8 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/0.2468, allocations: 65.58 kB / 0.7904 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.247, allocations: 211.7 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.247, allocations: 0 / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.247, allocations: 0 / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.247, allocations: 0 / 0.7906 GB, free: 8.547 MB / 0.6075 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.001149/0.2482, allocations: 0.6158 MB / 0.7912 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2482, allocations: 8.031 kB / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.2483, allocations: 27.72 kB / 0.7912 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2485, allocations: 203.5 kB / 0.7914 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.2487, allocations: 271.7 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.2488, allocations: 27.91 kB / 0.7917 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.2493, allocations: 265.8 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.2494, allocations: 0 / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.2494, allocations: 11.94 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2494, allocations: 4 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.2499, allocations: 191.8 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.251, allocations: 0.7738 MB / 0.7929 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.2515, allocations: 218.7 kB / 0.7931 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2517, allocations: 134.8 kB / 0.7932 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.2518, allocations: 12.17 kB / 0.7933 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.2523, allocations: 315.7 kB / 0.7936 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 3.186e-06/0.2523, allocations: 0 / 0.7936 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009864/0.2533, allocations: 0.4961 MB / 0.794 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.2534, allocations: 118.8 kB / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2536, allocations: 168.6 kB / 0.7943 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.2536, allocations: 41.7 kB / 0.7944 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.2537, allocations: 121.2 kB / 0.7945 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2538, allocations: 146 kB / 0.7946 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.2538, allocations: 16 kB / 0.7946 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2539, allocations: 334.8 kB / 0.7949 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2542, allocations: 157.2 kB / 0.7951 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.2546, allocations: 260.7 kB / 0.7953 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.2549, allocations: 163.9 kB / 0.7955 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2549, allocations: 0 / 0.7955 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007751/0.2557, allocations: 0.4891 MB / 0.796 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2557, allocations: 7.953 kB / 0.796 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2557, allocations: 4 kB / 0.796 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.2557, allocations: 8 kB / 0.796 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.2561, allocations: 99.83 kB / 0.7961 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2561, allocations: 7.938 kB / 0.7961 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.2564, allocations: 67.66 kB / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.2564, allocations: 23.98 kB / 0.7962 GB, free: 2.434 MB / 0.6075 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.0001544/0.2566, allocations: 168 kB / 0.7964 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.2566, allocations: 27.72 kB / 0.7964 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.2567, allocations: 37.81 kB / 0.7964 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2567, allocations: 7.938 kB / 0.7964 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.2567, allocations: 0 / 0.7964 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2568, allocations: 4 kB / 0.7964 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.2571, allocations: 357.3 kB / 0.7968 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2571, allocations: 0 / 0.7968 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.2575, allocations: 79.89 kB / 0.7968 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2575, allocations: 7.938 kB / 0.7968 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.2575, allocations: 11.98 kB / 0.7969 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.2575, allocations: 7.953 kB / 0.7969 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2575, allocations: 0 / 0.7969 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.2585, allocations: 0.594 MB / 0.7974 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.2586, allocations: 108.7 kB / 0.7976 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.2586, allocations: 8 kB / 0.7976 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2588, allocations: 47.95 kB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.2589, allocations: 39.91 kB / 0.7976 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.259, allocations: 19.98 kB / 0.7977 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.2591, allocations: 129.2 kB / 0.7978 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2591, allocations: 0 / 0.7978 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003103/0.2594, allocations: 80 kB / 0.7979 GB, free: 0.6211 MB / 0.6075 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.0001829/0.2596, allocations: 123.1 kB / 0.798 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006906/0.2603, allocations: 400.4 kB / 0.7984 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2603, allocations: 0 / 0.7984 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.2606, allocations: 190.8 kB / 0.7985 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.261, allocations: 36.17 kB / 0.7986 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2621, allocations: 0.7061 MB / 0.7993 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.2625, allocations: 0.7647 MB / 0.8 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000228/0.2627, allocations: 43.14 kB / 0.8001 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.2628, allocations: 31.42 kB / 0.8001 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2628, allocations: 0 / 0.8001 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.006428/0.2692, allocations: 3.036 MB / 0.8031 GB, free: 11.27 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1) Environment - environmentSimulation: