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.783/1.783, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001368/0.001368, allocations: 176.9 kB / 361.4 MB, free: 6.828 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.671/1.671, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0007845/0.0007845, allocations: 93.16 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.304e-05, allocations: 8 kB / 0.8518 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6491, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.8475, allocations: 137.9 MB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.8478, allocations: 65.56 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.8717, allocations: 8.569 MB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8717, allocations: 0 / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.8718, allocations: 4 kB / 1.107 GB, free: 9.434 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.001042/0.8728, allocations: 0.6022 MB / 1.108 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.8729, allocations: 8.031 kB / 1.108 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.8729, allocations: 31.72 kB / 1.108 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.8731, allocations: 199.6 kB / 1.108 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.8733, allocations: 247.8 kB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.8733, allocations: 27.98 kB / 1.109 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00029/0.8736, allocations: 128.9 kB / 1.109 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.874, allocations: 217.5 kB / 1.109 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.874, allocations: 7.859 kB / 1.109 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.8741, allocations: 1.406 kB / 1.109 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.8741, allocations: 11.94 kB / 1.109 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.8753, allocations: 0.7509 MB / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.8756, allocations: 172.6 kB / 1.11 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.8758, allocations: 110.9 kB / 1.11 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.8759, allocations: 12.16 kB / 1.11 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004138/0.8763, allocations: 280.2 kB / 1.11 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/0.8763, allocations: 4 kB / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0005433/0.8769, allocations: 300.7 kB / 1.11 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.8769, allocations: 122.7 kB / 1.111 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.8771, allocations: 150.5 kB / 1.111 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.8771, allocations: 25.7 kB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.8772, allocations: 117.3 kB / 1.111 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.8773, allocations: 147.3 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.8773, allocations: 0 / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8775, allocations: 350.8 kB / 1.111 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.8777, allocations: 113.6 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.878, allocations: 212.5 kB / 1.112 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.8783, allocations: 134.7 kB / 1.112 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8783, allocations: 0 / 1.112 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006399/0.8789, allocations: 408.3 kB / 1.112 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.879, allocations: 8 kB / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.879, allocations: 0 / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.879, allocations: 8 kB / 1.112 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.8794, allocations: 99.81 kB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.8794, allocations: 12 kB / 1.112 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.8797, allocations: 51.66 kB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.8798, allocations: 25.88 kB / 1.112 GB, free: 4.074 MB / 0.7136 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.0001306/0.8799, allocations: 131 kB / 1.112 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.8799, allocations: 31.58 kB / 1.112 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.88, allocations: 25.97 kB / 1.113 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.88, allocations: 8 kB / 1.113 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.88, allocations: 0 / 1.113 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8801, allocations: 3.984 kB / 1.113 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.8804, allocations: 305.8 kB / 1.113 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.8804, allocations: 4 kB / 1.113 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.8808, allocations: 75.89 kB / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8809, allocations: 11.94 kB / 1.113 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.8809, allocations: 11.94 kB / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8809, allocations: 0 / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.8809, allocations: 4.688 kB / 1.113 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.8818, allocations: 0.5193 MB / 1.113 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.8818, allocations: 104.8 kB / 1.114 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.8819, allocations: 8 kB / 1.114 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.8821, allocations: 31.97 kB / 1.114 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.8823, allocations: 48.69 kB / 1.114 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.8823, allocations: 14.92 kB / 1.114 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.281e-05/0.8824, allocations: 120.1 kB / 1.114 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8824, allocations: 0 / 1.114 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003318/0.8827, allocations: 60 kB / 1.114 GB, free: 2.48 MB / 0.7136 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.000216/0.883, allocations: 116.3 kB / 1.114 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.8835, allocations: 319 kB / 1.114 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8835, allocations: 4 kB / 1.114 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.8838, allocations: 163.1 kB / 1.114 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.8841, allocations: 33.69 kB / 1.114 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/0.885, allocations: 488.4 kB / 1.115 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.8853, allocations: 0.7686 MB / 1.116 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.8855, allocations: 39.28 kB / 1.116 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.8856, allocations: 35.42 kB / 1.116 GB, free: 488 kB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.8856, allocations: 0 / 1.116 GB, free: 488 kB / 0.7136 GB Notification: Performance of Templates: time 0.005941/0.8915, allocations: 2.83 MB / 1.118 GB, free: 13.73 MB / 0.7292 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)