Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.0008277/0.0008277, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00187/0.002698, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001132/0.001132, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002576, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9608/0.9608, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08721/1.048, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.936/1.936, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5149/2.451, allocations: 127.1 MB / 0.7435 GB, free: 4.543 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7449 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.486e-05, allocations: 5.578 kB / 0.7449 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001875/0.001889, allocations: 1.107 MB / 0.746 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.003385, allocations: 1.168 MB / 0.7471 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.003462, allocations: 4 kB / 0.7471 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.967e-05/0.003511, allocations: 21 kB / 0.7471 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.003628, allocations: 44.73 kB / 0.7472 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.003978, allocations: 159.2 kB / 0.7473 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.004223, allocations: 331.7 kB / 0.7476 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004329, allocations: 42.42 kB / 0.7477 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.004546, allocations: 211.6 kB / 0.7479 GB, free: 128 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.004674, allocations: 115.6 kB / 0.748 GB, free: 12 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.004721, allocations: 30.2 kB / 0.748 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.065e-05/0.004792, allocations: 32 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.004837, allocations: 55.81 kB / 0.7481 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.004894, allocations: 75.8 kB / 0.7482 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.005097, allocations: 211.2 kB / 0.7484 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.005107, allocations: 0 / 0.7484 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005107, allocations: 3.219 kB / 0.7484 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.005118, allocations: 0 / 0.7484 GB, free: 15.62 MB / 0.7292 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.0007263/0.005844, allocations: 0.583 MB / 0.7489 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.005873, allocations: 12.03 kB / 0.749 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.006243, allocations: 143.2 kB / 0.7491 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.41e-05/0.006327, allocations: 150.3 kB / 0.7492 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.006501, allocations: 0.4894 MB / 0.7497 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.00654, allocations: 28.33 kB / 0.7497 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.006737, allocations: 215.7 kB / 0.7499 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.006748, allocations: 5.156 kB / 0.7499 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.006763, allocations: 4.375 kB / 0.75 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.006772, allocations: 12.12 kB / 0.75 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.006865, allocations: 63.53 kB / 0.75 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.007328, allocations: 0.5058 MB / 0.7505 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.007499, allocations: 128.1 kB / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.007562, allocations: 71.75 kB / 0.7507 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.007588, allocations: 11.98 kB / 0.7507 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.007801, allocations: 244 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.532e-06/0.007803, allocations: 0.5 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0002962/0.008099, allocations: 250.4 kB / 0.7512 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.008142, allocations: 114.8 kB / 0.7513 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.008228, allocations: 186.2 kB / 0.7515 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.008252, allocations: 37.7 kB / 0.7515 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.00829, allocations: 109.3 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.008371, allocations: 166.6 kB / 0.7518 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.008452, allocations: 106.8 kB / 0.7519 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.008531, allocations: 351.5 kB / 0.7522 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.008595, allocations: 57.28 kB / 0.7523 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.008697, allocations: 158.4 kB / 0.7524 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.008886, allocations: 265.9 kB / 0.7527 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.008891, allocations: 4 kB / 0.7527 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002528/0.009143, allocations: 285.8 kB / 0.753 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.009153, allocations: 4 kB / 0.753 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.00916, allocations: 8.5 kB / 0.753 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.009171, allocations: 4.75 kB / 0.753 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.00937, allocations: 115.8 kB / 0.7531 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.009375, allocations: 5.469 kB / 0.7531 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.009483, allocations: 55.75 kB / 0.7531 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.009501, allocations: 18.69 kB / 0.7532 GB, free: 10.32 MB / 0.7292 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 8.327e-05/0.009585, allocations: 155.7 kB / 0.7533 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.009616, allocations: 31.97 kB / 0.7533 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.00965, allocations: 37.95 kB / 0.7534 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009653, allocations: 4 kB / 0.7534 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.009654, allocations: 3.594 kB / 0.7534 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.00966, allocations: 4 kB / 0.7534 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.0098, allocations: 169.6 kB / 0.7535 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.009801, allocations: 4 kB / 0.7535 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.009997, allocations: 75.89 kB / 0.7536 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.01001, allocations: 31.75 kB / 0.7536 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01002, allocations: 0 / 0.7536 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.01004, allocations: 15.98 kB / 0.7537 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01004, allocations: 4 kB / 0.7537 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01004, allocations: 1.594 kB / 0.7537 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.01034, allocations: 331 kB / 0.754 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.01036, allocations: 15.98 kB / 0.754 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.01045, allocations: 29.84 kB / 0.754 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.01053, allocations: 67.91 kB / 0.7541 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01054, allocations: 7.984 kB / 0.7541 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.899e-05/0.01057, allocations: 41.67 kB / 0.7541 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01057, allocations: 1.406 kB / 0.7541 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001616/0.01073, allocations: 83.92 kB / 0.7542 GB, free: 9.18 MB / 0.7292 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 7.704e-05/0.01081, allocations: 98.64 kB / 0.7543 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.01105, allocations: 259.1 kB / 0.7546 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.01106, allocations: 7.984 kB / 0.7546 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.01119, allocations: 131.2 kB / 0.7547 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.0114, allocations: 307.2 kB / 0.755 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01247, allocations: 0.534 MB / 0.7555 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.01252, allocations: 97.61 kB / 0.7556 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.717e-05/0.01261, allocations: 39.27 kB / 0.7556 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.01274, allocations: 111.4 kB / 0.7557 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.01274, allocations: 3.938 kB / 0.7558 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of Templates: time 0.005497/0.01824, allocations: 3.98 MB / 0.7596 GB, free: 3.719 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.83629503287375]