Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 174.7 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007843/0.0007845, allocations: 86.3 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004132, allocations: 12.94 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 106.3 MB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001899/0.2473, allocations: 1.685 MB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.2482, allocations: 0.6709 MB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.2483, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.2483, allocations: 11.86 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2484, allocations: 35.7 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.2488, allocations: 119.8 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.249, allocations: 283.2 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2492, allocations: 56.28 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2493, allocations: 107.6 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.2495, allocations: 131.5 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.2495, allocations: 16 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.182e-05/0.2495, allocations: 12 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.2496, allocations: 63.78 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.2496, allocations: 69.58 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2498, allocations: 203.7 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2498, allocations: 0 / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2498, allocations: 0 / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2498, allocations: 0 / 0.9042 GB, free: 60.38 MB / 0.6042 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.001073/0.2509, allocations: 0.608 MB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2509, allocations: 8.031 kB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.251, allocations: 35.62 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2511, allocations: 199.6 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.2513, allocations: 267.8 kB / 0.9053 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.2513, allocations: 31.94 kB / 0.9053 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.2518, allocations: 257.8 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2518, allocations: 4 kB / 0.9056 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2518, allocations: 11.98 kB / 0.9056 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2519, allocations: 8 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.2522, allocations: 183.8 kB / 0.9058 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008536/0.2531, allocations: 0.7855 MB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.2535, allocations: 204.3 kB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.2537, allocations: 150 kB / 0.9069 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.2538, allocations: 8.172 kB / 0.9069 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.2543, allocations: 315.5 kB / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.2543, allocations: 0 / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008612/0.2551, allocations: 0.4931 MB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2552, allocations: 118.7 kB / 0.9078 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2553, allocations: 179.4 kB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.2553, allocations: 37.7 kB / 0.908 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.2554, allocations: 125.3 kB / 0.9081 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.2555, allocations: 142 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.2555, allocations: 16 kB / 0.9083 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.2556, allocations: 342.8 kB / 0.9086 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.2558, allocations: 149.2 kB / 0.9087 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.2561, allocations: 256.9 kB / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.2564, allocations: 171.9 kB / 0.9091 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2564, allocations: 3.938 kB / 0.9091 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006865/0.2571, allocations: 0.493 MB / 0.9096 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2572, allocations: 8 kB / 0.9096 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2572, allocations: 4.703 kB / 0.9096 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2572, allocations: 4 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.2576, allocations: 95.83 kB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2576, allocations: 11.98 kB / 0.9097 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.2578, allocations: 67.66 kB / 0.9098 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.2579, allocations: 27.94 kB / 0.9098 GB, free: 54.25 MB / 0.6042 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.0002254/0.2581, allocations: 156 kB / 0.91 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.2582, allocations: 35.56 kB / 0.91 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.2582, allocations: 29.88 kB / 0.91 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2582, allocations: 12 kB / 0.9101 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2583, allocations: 0 / 0.9101 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2583, allocations: 3.984 kB / 0.9101 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.2586, allocations: 361.1 kB / 0.9104 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2586, allocations: 0 / 0.9104 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.259, allocations: 79.89 kB / 0.9105 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.259, allocations: 4 kB / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.259, allocations: 15.94 kB / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.259, allocations: 0 / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.259, allocations: 4 kB / 0.9105 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.2599, allocations: 0.6018 MB / 0.9111 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.26, allocations: 100.8 kB / 0.9112 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.26, allocations: 15.98 kB / 0.9112 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.2603, allocations: 47.92 kB / 0.9112 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.2604, allocations: 35.95 kB / 0.9113 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.2604, allocations: 19.98 kB / 0.9113 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.323e-05/0.2605, allocations: 121.2 kB / 0.9114 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2605, allocations: 0 / 0.9114 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002765/0.2607, allocations: 75.98 kB / 0.9115 GB, free: 52.45 MB / 0.6042 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.0001777/0.2609, allocations: 124 kB / 0.9116 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006304/0.2616, allocations: 394.6 kB / 0.912 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2616, allocations: 4 kB / 0.912 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.2619, allocations: 187.7 kB / 0.9122 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.2622, allocations: 40.28 kB / 0.9122 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.2632, allocations: 0.7361 MB / 0.9129 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2634, allocations: 0.7686 MB / 0.9137 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2635, allocations: 31.42 kB / 0.9137 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2635, allocations: 4 kB / 0.9137 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.004917/0.2684, allocations: 3.933 MB / 0.9175 GB, free: 46.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)