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.645/1.645, allocations: 288.4 MB / 304.3 MB, free: 8.176 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.001075/0.001075, allocations: 187.5 kB / 373 MB, free: 10.16 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.451/1.451, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0009461/0.0009461, allocations: 100.2 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004425, allocations: 14.34 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8143/1.051, allocations: 138.6 MB / 1.116 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.052, allocations: 80.56 kB / 1.116 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02187/1.073, allocations: 8.688 MB / 1.125 GB, free: 31.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.073, allocations: 0 / 1.125 GB, free: 31.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.073, allocations: 7.844 kB / 1.125 GB, free: 31.58 MB / 0.698 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.00104/1.075, allocations: 0.6202 MB / 1.125 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.075, allocations: 7.719 kB / 1.125 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/1.075, allocations: 39.22 kB / 1.125 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/1.075, allocations: 192.6 kB / 1.126 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/1.075, allocations: 269 kB / 1.126 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/1.075, allocations: 30.44 kB / 1.126 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/1.076, allocations: 266.1 kB / 1.126 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.076, allocations: 7.844 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/1.076, allocations: 10.23 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.076, allocations: 3.969 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/1.076, allocations: 190.8 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/1.077, allocations: 0.8047 MB / 1.127 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/1.077, allocations: 207.4 kB / 1.127 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/1.078, allocations: 138 kB / 1.127 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/1.078, allocations: 14.41 kB / 1.127 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/1.078, allocations: 307.8 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/1.078, allocations: 3.875 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009288/1.079, allocations: 0.4959 MB / 1.128 GB, free: 29.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/1.079, allocations: 120.2 kB / 1.128 GB, free: 29.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/1.079, allocations: 179.3 kB / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/1.08, allocations: 36.55 kB / 1.128 GB, free: 29.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/1.08, allocations: 119 kB / 1.129 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/1.08, allocations: 149 kB / 1.129 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/1.08, allocations: 13.56 kB / 1.129 GB, free: 29.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.08, allocations: 342.9 kB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/1.08, allocations: 149.8 kB / 1.129 GB, free: 29.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/1.08, allocations: 258.4 kB / 1.129 GB, free: 28.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/1.081, allocations: 396.8 kB / 1.13 GB, free: 28.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.081, allocations: 4 kB / 1.13 GB, free: 28.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007072/1.082, allocations: 0.4906 MB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.082, allocations: 9.344 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.082, allocations: 7.828 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.082, allocations: 11.69 kB / 1.13 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/1.082, allocations: 97.36 kB / 1.13 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.082, allocations: 6.875 kB / 1.13 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/1.082, allocations: 74.19 kB / 1.131 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/1.082, allocations: 21.59 kB / 1.131 GB, free: 28.71 MB / 0.698 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.0002005/1.083, allocations: 163.1 kB / 1.131 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/1.083, allocations: 30 kB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/1.083, allocations: 33.94 kB / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.083, allocations: 3.812 kB / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.083, allocations: 0 / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.083, allocations: 6.172 kB / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/1.083, allocations: 351.3 kB / 1.131 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.083, allocations: 12 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/1.084, allocations: 82.72 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.084, allocations: 3.938 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/1.084, allocations: 9.25 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.084, allocations: 6.266 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.084, allocations: 0 / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/1.085, allocations: 0.5876 MB / 1.132 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/1.085, allocations: 111.2 kB / 1.132 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/1.085, allocations: 14.91 kB / 1.132 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/1.085, allocations: 49.86 kB / 1.132 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.085, allocations: 56.67 kB / 1.132 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/1.085, allocations: 13.62 kB / 1.132 GB, free: 28.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001026/1.085, allocations: 134.7 kB / 1.132 GB, free: 28.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.085, allocations: 0 / 1.132 GB, free: 28.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003187/1.086, allocations: 80.75 kB / 1.132 GB, free: 28.02 MB / 0.698 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.0002231/1.086, allocations: 122.4 kB / 1.132 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006599/1.086, allocations: 389.9 kB / 1.133 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.086, allocations: 0 / 1.133 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/1.087, allocations: 216.7 kB / 1.133 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.087, allocations: 49.66 kB / 1.133 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/1.088, allocations: 0.7062 MB / 1.134 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/1.089, allocations: 0.7639 MB / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001687/1.089, allocations: 40.36 kB / 1.134 GB, free: 26.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/1.089, allocations: 29.94 kB / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.089, allocations: 0 / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of Templates: time 0.00586/1.095, allocations: 3.302 MB / 1.138 GB, free: 25.3 MB / 0.698 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)