Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.089/1.089, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6704/0.6704, allocations: 115 MB / 376 MB, free: 7.516 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0.6562 kB / 482 MB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.688e-05, allocations: 2.844 kB / 482 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002047/0.002064, allocations: 1.96 MB / 484 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.002977, allocations: 0.718 MB / 484.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.589e-05/0.003072, allocations: 1.438 kB / 484.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.003112, allocations: 27.27 kB / 484.8 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.003214, allocations: 43.2 kB / 484.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.003621, allocations: 178.2 kB / 485 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.003887, allocations: 336.5 kB / 485.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004008, allocations: 36.28 kB / 485.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.004242, allocations: 195.6 kB / 485.5 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.004372, allocations: 118 kB / 485.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.004418, allocations: 31.75 kB / 485.7 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.004486, allocations: 38.91 kB / 485.7 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.004529, allocations: 76.39 kB / 485.8 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.004594, allocations: 97.98 kB / 485.9 MB, free: 9.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.004794, allocations: 241.8 kB / 486.1 MB, free: 9.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004796, allocations: 0.5938 kB / 486.1 MB, free: 9.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004797, allocations: 1.25 kB / 486.1 MB, free: 9.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.004802, allocations: 1.125 kB / 486.1 MB, free: 9.152 MB / 410.7 MB 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.0006771/0.005479, allocations: 0.6679 MB / 486.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005516, allocations: 7.281 kB / 486.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.005709, allocations: 77.89 kB / 486.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.005904, allocations: 194.8 kB / 487.1 MB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.006057, allocations: 497.2 kB / 487.5 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.006099, allocations: 39.47 kB / 487.6 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.006331, allocations: 217 kB / 487.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.006347, allocations: 8.938 kB / 487.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.006362, allocations: 9.438 kB / 487.8 MB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.006371, allocations: 5.125 kB / 487.8 MB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.006486, allocations: 84.77 kB / 487.9 MB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.007208, allocations: 0.7405 MB / 488.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.007418, allocations: 163.9 kB / 488.8 MB, free: 23.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.007499, allocations: 77.64 kB / 488.9 MB, free: 22.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.007532, allocations: 15.38 kB / 488.9 MB, free: 22.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.007744, allocations: 257.2 kB / 489.1 MB, free: 22.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 1.933e-06/0.007746, allocations: 0 / 489.1 MB, free: 22.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.0004168/0.008163, allocations: 339.7 kB / 489.5 MB, free: 22.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.008196, allocations: 120.2 kB / 489.6 MB, free: 22.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.008316, allocations: 240.3 kB / 489.8 MB, free: 22.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.008346, allocations: 41.89 kB / 489.9 MB, free: 22.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.008421, allocations: 174.2 kB / 490 MB, free: 22.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.008527, allocations: 153.9 kB / 490.2 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.008638, allocations: 114.6 kB / 490.3 MB, free: 22.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.008759, allocations: 0.513 MB / 490.8 MB, free: 21.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.008842, allocations: 65.27 kB / 490.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.008976, allocations: 208.7 kB / 491.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.009193, allocations: 297.5 kB / 491.4 MB, free: 21.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.009196, allocations: 1.219 kB / 491.4 MB, free: 21.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003505/0.009546, allocations: 367.2 kB / 491.7 MB, free: 21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.009562, allocations: 10.39 kB / 491.7 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.009568, allocations: 2.906 kB / 491.7 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.009584, allocations: 5 kB / 491.8 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.009784, allocations: 99.08 kB / 491.8 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.009792, allocations: 13.44 kB / 491.9 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.00992, allocations: 58.5 kB / 491.9 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.009939, allocations: 15.38 kB / 491.9 MB, free: 20.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.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.0001053/0.01004, allocations: 193.8 kB / 492.1 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.01009, allocations: 47.06 kB / 492.2 MB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.01013, allocations: 34.59 kB / 492.2 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01013, allocations: 6.344 kB / 492.2 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01014, allocations: 1.469 kB / 492.2 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01014, allocations: 7.266 kB / 492.2 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.01031, allocations: 201.4 kB / 492.4 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.01031, allocations: 5.75 kB / 492.4 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.0105, allocations: 72.2 kB / 492.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01051, allocations: 2.781 kB / 492.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.01053, allocations: 10.41 kB / 492.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01053, allocations: 2.312 kB / 492.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01053, allocations: 1.062 kB / 492.5 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.01097, allocations: 444.2 kB / 492.9 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.011, allocations: 25.14 kB / 493 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.01103, allocations: 16.47 kB / 493 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.01112, allocations: 28.66 kB / 493 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.01122, allocations: 69.41 kB / 493.1 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.01124, allocations: 11.45 kB / 493.1 MB, free: 20.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.667e-05/0.01132, allocations: 171.4 kB / 493.3 MB, free: 20.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01132, allocations: 0.9375 kB / 493.3 MB, free: 20.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.01156, allocations: 83.52 kB / 493.3 MB, free: 20.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.0001063/0.01167, allocations: 115.8 kB / 493.4 MB, free: 20.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.01198, allocations: 243.2 kB / 493.7 MB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01198, allocations: 2 kB / 493.7 MB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.01213, allocations: 128.1 kB / 493.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01234, allocations: 64.78 kB / 493.9 MB, free: 19.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000774/0.01311, allocations: 0.5652 MB / 494.4 MB, free: 19.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.01317, allocations: 97.45 kB / 494.5 MB, free: 19.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.739e-05/0.01326, allocations: 39.44 kB / 494.6 MB, free: 19.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.01342, allocations: 130.3 kB / 494.7 MB, free: 19.4 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01342, allocations: 0 / 494.7 MB, free: 19.4 MB / 426.7 MB Notification: Performance of Templates: time 0.00669/0.02011, allocations: 4.356 MB / 499.1 MB, free: 19.02 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.632269623223692]