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.001684/0.001684, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001369/0.001369, allocations: 177.3 kB / 15.94 MB, free: 228 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.783/1.783, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.804/1.804, allocations: 251.9 MB / 0.51 GB, free: 4.738 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.0006477/0.0006481, allocations: 19.98 kB / 0.6242 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6571/0.6577, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002366/0.6601, allocations: 1.654 MB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.6612, allocations: 0.6672 MB / 0.7303 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.6613, allocations: 4 kB / 0.7303 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.6613, allocations: 11.86 kB / 0.7303 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.6614, allocations: 39.84 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.6618, allocations: 127.7 kB / 0.7304 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.6621, allocations: 191.6 kB / 0.7306 GB, free: 8.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.6623, allocations: 40.38 kB / 0.7307 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.6625, allocations: 107.7 kB / 0.7308 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.6626, allocations: 143.4 kB / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.6627, allocations: 12 kB / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.674e-05/0.6627, allocations: 16 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.6628, allocations: 55.8 kB / 0.731 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.6629, allocations: 69.58 kB / 0.731 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.6631, allocations: 205.4 kB / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6631, allocations: 0 / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6631, allocations: 0 / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.6631, allocations: 0 / 0.7312 GB, free: 8.055 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.001204/0.6644, allocations: 0.6158 MB / 0.7318 GB, free: 7.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.6644, allocations: 8.031 kB / 0.7318 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.6645, allocations: 31.62 kB / 0.7319 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.6647, allocations: 199.5 kB / 0.7321 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.6649, allocations: 263.8 kB / 0.7323 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.665, allocations: 31.94 kB / 0.7324 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.6655, allocations: 257.8 kB / 0.7326 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.6655, allocations: 8 kB / 0.7326 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.6655, allocations: 4 kB / 0.7326 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.6656, allocations: 8 kB / 0.7326 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.666, allocations: 187.8 kB / 0.7328 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.6671, allocations: 0.7894 MB / 0.7336 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.6675, allocations: 208.5 kB / 0.7338 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.6676, allocations: 12.14 kB / 0.7338 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005205/0.6681, allocations: 319.6 kB / 0.7341 GB, free: 4.883 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.883e-06/0.6681, allocations: 0 / 0.7341 GB, free: 4.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.0009796/0.6691, allocations: 498.2 kB / 0.7346 GB, free: 4.391 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.6692, allocations: 118.7 kB / 0.7347 GB, free: 4.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.6694, allocations: 179.4 kB / 0.7348 GB, free: 4.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.6694, allocations: 37.7 kB / 0.7349 GB, free: 4.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.6695, allocations: 117.3 kB / 0.735 GB, free: 3.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.6696, allocations: 150 kB / 0.7351 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.6697, allocations: 16 kB / 0.7351 GB, free: 3.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6698, allocations: 342.8 kB / 0.7355 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.6701, allocations: 149.2 kB / 0.7356 GB, free: 3.242 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.6705, allocations: 256.8 kB / 0.7359 GB, free: 2.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.6708, allocations: 167.9 kB / 0.736 GB, free: 2.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6708, allocations: 0 / 0.736 GB, free: 2.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007952/0.6716, allocations: 0.4891 MB / 0.7365 GB, free: 2.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.6717, allocations: 12 kB / 0.7365 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6717, allocations: 0 / 0.7365 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.6717, allocations: 8 kB / 0.7365 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.6721, allocations: 95.83 kB / 0.7366 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.6721, allocations: 7.984 kB / 0.7366 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.6724, allocations: 71.66 kB / 0.7367 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.6724, allocations: 20 kB / 0.7367 GB, free: 2.086 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 ($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.0001806/0.6726, allocations: 171.1 kB / 0.7369 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.6727, allocations: 35.56 kB / 0.7369 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.6727, allocations: 29.88 kB / 0.7369 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6727, allocations: 4 kB / 0.7369 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.6728, allocations: 8.062 kB / 0.7369 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6728, allocations: 7.984 kB / 0.7369 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.6731, allocations: 357.1 kB / 0.7373 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6731, allocations: 3.984 kB / 0.7373 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.6735, allocations: 75.91 kB / 0.7374 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6736, allocations: 3.938 kB / 0.7374 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.6736, allocations: 15.94 kB / 0.7374 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6736, allocations: 4 kB / 0.7374 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6736, allocations: 0 / 0.7374 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.6749, allocations: 0.6247 MB / 0.738 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.675, allocations: 100.8 kB / 0.7381 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.675, allocations: 15.98 kB / 0.7381 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.6753, allocations: 39.97 kB / 0.7381 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6754, allocations: 43.94 kB / 0.7382 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.6755, allocations: 12 kB / 0.7382 GB, free: 452 kB / 0.545 GB Notification: Performance of sorting global known variables: time 9.7e-05/0.6756, allocations: 125.2 kB / 0.7383 GB, free: 328 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6756, allocations: 0 / 0.7383 GB, free: 328 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003296/0.6759, allocations: 80 kB / 0.7384 GB, free: 248 kB / 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 (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.0002114/0.6761, allocations: 123.3 kB / 0.7385 GB, free: 116 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007677/0.6769, allocations: 390.3 kB / 0.7389 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6769, allocations: 4 kB / 0.7389 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.6773, allocations: 188.8 kB / 0.7391 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.6776, allocations: 38.92 kB / 0.7391 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.679, allocations: 0.7017 MB / 0.7398 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.6796, allocations: 0.7725 MB / 0.7405 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.6798, allocations: 39.14 kB / 0.7406 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.6799, allocations: 31.42 kB / 0.7406 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.6799, allocations: 4 kB / 0.7406 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.007891/0.6878, allocations: 3.036 MB / 0.7436 GB, free: 10.91 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: