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.001401/0.001401, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001794/0.001794, allocations: 224.6 kB / 23.01 MB, free: 5.047 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 1.039/1.039, allocations: 150 MB / 463.1 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 64.09 kB / 0.6418 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.239, allocations: 89.17 MB / 0.7289 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003593/0.2426, allocations: 2.005 MB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2439, allocations: 0.744 MB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.244, allocations: 4 kB / 0.7316 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.2441, allocations: 19.69 kB / 0.7316 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2442, allocations: 47.56 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.2448, allocations: 167.7 kB / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.2452, allocations: 327.1 kB / 0.7321 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2454, allocations: 40.84 kB / 0.7321 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.2456, allocations: 143.7 kB / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2459, allocations: 155.3 kB / 0.7324 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.2459, allocations: 28 kB / 0.7324 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.246, allocations: 36 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.2461, allocations: 79.72 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.2462, allocations: 135.4 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.2466, allocations: 318.7 kB / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2466, allocations: 0 / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2466, allocations: 0 / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.2466, allocations: 0 / 0.733 GB, free: 12.54 MB / 0.5606 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.00127/0.2479, allocations: 0.5638 MB / 0.7335 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.248, allocations: 19.97 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.2483, allocations: 56.72 kB / 0.7336 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.2486, allocations: 187.3 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/0.249, allocations: 499.6 kB / 0.7343 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.2491, allocations: 36.33 kB / 0.7343 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.2496, allocations: 261.9 kB / 0.7345 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2496, allocations: 4 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.2496, allocations: 8 kB / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2496, allocations: 8 kB / 0.7346 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.2501, allocations: 175.8 kB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.2512, allocations: 0.7494 MB / 0.7355 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.2517, allocations: 199.7 kB / 0.7357 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.252, allocations: 127.2 kB / 0.7358 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.252, allocations: 12 kB / 0.7358 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005924/0.2526, allocations: 311.8 kB / 0.7361 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.543e-06/0.2526, allocations: 0 / 0.7361 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001045/0.2537, allocations: 492.5 kB / 0.7366 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.2538, allocations: 118.8 kB / 0.7367 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2539, allocations: 186.8 kB / 0.7368 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.254, allocations: 41.69 kB / 0.7369 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.2541, allocations: 121.3 kB / 0.737 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2542, allocations: 154.8 kB / 0.7372 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.2544, allocations: 106.3 kB / 0.7373 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.2546, allocations: 338.8 kB / 0.7376 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.2549, allocations: 145.2 kB / 0.7377 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.2553, allocations: 260.7 kB / 0.738 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.2559, allocations: 390.1 kB / 0.7383 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2559, allocations: 0 / 0.7383 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008683/0.2568, allocations: 0.4892 MB / 0.7388 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2568, allocations: 4 kB / 0.7388 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2568, allocations: 8 kB / 0.7388 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2569, allocations: 4 kB / 0.7388 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.2573, allocations: 99.81 kB / 0.7389 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.2573, allocations: 7.938 kB / 0.7389 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.2575, allocations: 55.75 kB / 0.739 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.2576, allocations: 24 kB / 0.739 GB, free: 5.941 MB / 0.5606 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 (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.0001907/0.2578, allocations: 163.4 kB / 0.7392 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.2578, allocations: 35.75 kB / 0.7392 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.695e-05/0.2579, allocations: 33.91 kB / 0.7392 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2579, allocations: 8 kB / 0.7392 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.2579, allocations: 4.062 kB / 0.7392 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2579, allocations: 3.984 kB / 0.7392 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.2583, allocations: 332.2 kB / 0.7396 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2583, allocations: 4 kB / 0.7396 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.2587, allocations: 83.83 kB / 0.7396 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2587, allocations: 0 / 0.7396 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.2587, allocations: 12 kB / 0.7397 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2588, allocations: 4.703 kB / 0.7397 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2588, allocations: 0 / 0.7397 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.2599, allocations: 0.5783 MB / 0.7402 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.2599, allocations: 43.67 kB / 0.7403 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.26, allocations: 8 kB / 0.7403 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2602, allocations: 23.97 kB / 0.7403 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.2603, allocations: 59.91 kB / 0.7404 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.2603, allocations: 19.98 kB / 0.7404 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001121/0.2604, allocations: 128.4 kB / 0.7405 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2604, allocations: 0 / 0.7405 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003407/0.2608, allocations: 83.95 kB / 0.7406 GB, free: 4.25 MB / 0.5606 GB 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.0002165/0.261, allocations: 119.2 kB / 0.7407 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007501/0.2618, allocations: 368.7 kB / 0.741 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2618, allocations: 0 / 0.741 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.2621, allocations: 184.5 kB / 0.7412 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2625, allocations: 43.91 kB / 0.7413 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2637, allocations: 0.6187 MB / 0.7419 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2641, allocations: 0.7648 MB / 0.7426 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.2643, allocations: 47.22 kB / 0.7427 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2644, allocations: 35.62 kB / 0.7427 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2644, allocations: 0 / 0.7427 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.008988/0.2734, allocations: 4.144 MB / 0.7467 GB, free: 13.91 MB / 0.5762 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.667317057028413] Failed to read output from testmodel.py, exit status != 0: 0.28264162270352244 0.68149964 0.047585724 Calling exit ...