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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001263, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.664/1.664, allocations: 251.7 MB / 0.5092 GB, free: 3.09 MB / 414.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.002876/0.002876, allocations: 71.91 kB / 0.6223 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6543, allocations: 104.7 MB / 0.7245 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004084/0.6585, allocations: 2.036 MB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.6599, allocations: 0.6978 MB / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.66, allocations: 4 kB / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.135e-05/0.6601, allocations: 23.67 kB / 0.7272 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.6603, allocations: 43.56 kB / 0.7273 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.6608, allocations: 147.7 kB / 0.7274 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.6612, allocations: 323.1 kB / 0.7277 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.6614, allocations: 48.38 kB / 0.7278 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.6616, allocations: 135.6 kB / 0.7279 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.6618, allocations: 147.4 kB / 0.728 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.6619, allocations: 28 kB / 0.7281 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.662, allocations: 28 kB / 0.7281 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.6621, allocations: 79.78 kB / 0.7282 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.6622, allocations: 139.4 kB / 0.7283 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.6626, allocations: 305 kB / 0.7286 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6626, allocations: 4 kB / 0.7286 GB, free: 8.707 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.671e-06/0.6627, allocations: 0 / 0.7286 GB, free: 8.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.6627, allocations: 3.938 kB / 0.7286 GB, free: 8.703 MB / 0.545 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.001312/0.664, allocations: 0.6197 MB / 0.7292 GB, free: 8.039 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.664, allocations: 12.03 kB / 0.7292 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.6641, allocations: 32.56 kB / 0.7293 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.6643, allocations: 196.9 kB / 0.7294 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.6646, allocations: 268.2 kB / 0.7297 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.6646, allocations: 32.38 kB / 0.7297 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.6652, allocations: 265.9 kB / 0.73 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.6652, allocations: 7.875 kB / 0.73 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.6652, allocations: 4 kB / 0.73 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.6653, allocations: 8 kB / 0.73 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.6657, allocations: 171.9 kB / 0.7302 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.6671, allocations: 0.7815 MB / 0.7309 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.6677, allocations: 203.7 kB / 0.7311 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.668, allocations: 130.5 kB / 0.7312 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.6681, allocations: 15.98 kB / 0.7313 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006988/0.6688, allocations: 311.6 kB / 0.7316 GB, free: 5.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.824e-06/0.6688, allocations: 0 / 0.7316 GB, free: 5.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001134/0.6699, allocations: 486.9 kB / 0.732 GB, free: 4.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6701, allocations: 114.8 kB / 0.7321 GB, free: 4.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.6703, allocations: 175.4 kB / 0.7323 GB, free: 4.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.6704, allocations: 41.7 kB / 0.7323 GB, free: 4.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.6705, allocations: 121.3 kB / 0.7325 GB, free: 4.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.6706, allocations: 146 kB / 0.7326 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.6708, allocations: 114.3 kB / 0.7327 GB, free: 4.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.671, allocations: 334.8 kB / 0.733 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.6714, allocations: 145.2 kB / 0.7332 GB, free: 3.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.6718, allocations: 260.7 kB / 0.7334 GB, free: 3.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.6725, allocations: 394.1 kB / 0.7338 GB, free: 2.984 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6725, allocations: 0 / 0.7338 GB, free: 2.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008216/0.6734, allocations: 497.4 kB / 0.7343 GB, free: 2.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6734, allocations: 7.938 kB / 0.7343 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6734, allocations: 4 kB / 0.7343 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.6734, allocations: 7.938 kB / 0.7343 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.6738, allocations: 95.83 kB / 0.7344 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.6739, allocations: 4 kB / 0.7344 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.6741, allocations: 67.64 kB / 0.7344 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.6742, allocations: 16 kB / 0.7345 GB, free: 2.293 MB / 0.545 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.6744, allocations: 163.9 kB / 0.7346 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.6744, allocations: 31.59 kB / 0.7346 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.6745, allocations: 33.86 kB / 0.7347 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6745, allocations: 4 kB / 0.7347 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.6745, allocations: 4 kB / 0.7347 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.6746, allocations: 7.984 kB / 0.7347 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.675, allocations: 353.2 kB / 0.735 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.675, allocations: 0 / 0.735 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.6754, allocations: 79.83 kB / 0.7351 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6754, allocations: 4 kB / 0.7351 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.6754, allocations: 15.98 kB / 0.7351 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6754, allocations: 0 / 0.7351 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6754, allocations: 4 kB / 0.7351 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.6765, allocations: 0.5801 MB / 0.7357 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.6766, allocations: 108.6 kB / 0.7358 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.6767, allocations: 15.98 kB / 0.7358 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.6769, allocations: 31.97 kB / 0.7358 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.6771, allocations: 51.94 kB / 0.7359 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.6771, allocations: 19.98 kB / 0.7359 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001133/0.6772, allocations: 121.2 kB / 0.736 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.984e-06/0.6773, allocations: 4.094 kB / 0.736 GB, free: 0.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003263/0.6776, allocations: 75.94 kB / 0.7361 GB, free: 0.5078 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003168/0.6779, allocations: 123.2 kB / 0.7362 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000849/0.6788, allocations: 410.8 kB / 0.7366 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6788, allocations: 0 / 0.7366 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.6792, allocations: 207.6 kB / 0.7368 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.6795, allocations: 46.11 kB / 0.7369 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.6808, allocations: 0.6221 MB / 0.7375 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.6813, allocations: 0.7608 MB / 0.7382 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.6815, allocations: 43.14 kB / 0.7382 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6816, allocations: 35.44 kB / 0.7383 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.6816, allocations: 7.938 kB / 0.7383 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.008081/0.6897, allocations: 4.007 MB / 0.7422 GB, free: 10.23 MB / 0.5606 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)