Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001093/0.001093, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002557, allocations: 452 kB / 10.43 MB, free: 268 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.001076/0.001076, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002495, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9023/0.9023, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09542/0.9977, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6332/0.6332, allocations: 120.1 MB / 364.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06404/0.6972, allocations: 38.15 MB / 402.4 MB, free: 12.26 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 403.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.379e-05, allocations: 2.312 kB / 403.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001339/0.001352, allocations: 1.084 MB / 404.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000945/0.002297, allocations: 1.17 MB / 406.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.002351, allocations: 4 kB / 406.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.002384, allocations: 23.67 kB / 406.1 MB, free: 8.551 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.002443, allocations: 39.58 kB / 406.1 MB, free: 8.512 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.002683, allocations: 151.7 kB / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.002903, allocations: 331 kB / 406.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.003002, allocations: 46.42 kB / 406.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.003226, allocations: 215.6 kB / 406.8 MB, free: 7.781 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.003352, allocations: 111.7 kB / 407 MB, free: 7.672 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.003384, allocations: 28 kB / 407 MB, free: 7.645 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.003452, allocations: 39.98 kB / 407 MB, free: 7.605 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.003491, allocations: 55.8 kB / 407.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.003542, allocations: 71.88 kB / 407.1 MB, free: 7.48 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.003726, allocations: 203.3 kB / 407.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.003736, allocations: 0 / 407.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003737, allocations: 0 / 407.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.003747, allocations: 0 / 407.3 MB, free: 7.281 MB / 394.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.0006674/0.004414, allocations: 0.5855 MB / 407.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.00444, allocations: 8.031 kB / 407.9 MB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.004643, allocations: 157.9 kB / 408.1 MB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.004731, allocations: 146.3 kB / 408.2 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.004909, allocations: 495.7 kB / 408.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.004954, allocations: 36.31 kB / 408.8 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.005167, allocations: 203.8 kB / 409 MB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.00518, allocations: 8.172 kB / 409 MB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.005195, allocations: 12.3 kB / 409 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.005206, allocations: 12.12 kB / 409 MB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.844e-05/0.005305, allocations: 67.84 kB / 409.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.005799, allocations: 0.5001 MB / 409.6 MB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.005991, allocations: 127.6 kB / 409.7 MB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.006053, allocations: 62.56 kB / 409.7 MB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.006082, allocations: 15.94 kB / 409.8 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.006285, allocations: 240.1 kB / 410 MB, free: 4.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 1.913e-06/0.006287, allocations: 0 / 410 MB, free: 4.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.0002981/0.006585, allocations: 261.8 kB / 410.2 MB, free: 4.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.006628, allocations: 114.8 kB / 410.4 MB, free: 3.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.006713, allocations: 179.7 kB / 410.5 MB, free: 3.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.006738, allocations: 37.7 kB / 410.6 MB, free: 3.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.006779, allocations: 113.3 kB / 410.7 MB, free: 3.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.006862, allocations: 166.6 kB / 410.8 MB, free: 3.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.00695, allocations: 102.3 kB / 410.9 MB, free: 3.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.007027, allocations: 346.7 kB / 411.3 MB, free: 2.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.007091, allocations: 57.28 kB / 411.3 MB, free: 2.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.007202, allocations: 172.6 kB / 411.5 MB, free: 2.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.007398, allocations: 258 kB / 411.8 MB, free: 2.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007401, allocations: 0 / 411.8 MB, free: 2.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002638/0.007665, allocations: 293.2 kB / 412 MB, free: 2.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007677, allocations: 4 kB / 412 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.007683, allocations: 4 kB / 412.1 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.007697, allocations: 4.062 kB / 412.1 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.007912, allocations: 111.8 kB / 412.2 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.007918, allocations: 4.703 kB / 412.2 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.008033, allocations: 55.75 kB / 412.2 MB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.008051, allocations: 19.94 kB / 412.2 MB, free: 1.953 MB / 394.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 9.298e-05/0.008144, allocations: 151.7 kB / 412.4 MB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.008179, allocations: 31.97 kB / 412.4 MB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.008217, allocations: 29.97 kB / 412.5 MB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.008222, allocations: 12.08 kB / 412.5 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.008225, allocations: 3.938 kB / 412.5 MB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.008231, allocations: 3.984 kB / 412.5 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.008384, allocations: 173.6 kB / 412.6 MB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008385, allocations: 4 kB / 412.6 MB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.008587, allocations: 83.89 kB / 412.7 MB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.008606, allocations: 27.75 kB / 412.8 MB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.00861, allocations: 4 kB / 412.8 MB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.008628, allocations: 8 kB / 412.8 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008631, allocations: 3.984 kB / 412.8 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008632, allocations: 4 kB / 412.8 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.008959, allocations: 334.9 kB / 413.1 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.008985, allocations: 12 kB / 413.1 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.009075, allocations: 31.97 kB / 413.1 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.009158, allocations: 67.84 kB / 413.2 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.009178, allocations: 15.98 kB / 413.2 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.009211, allocations: 46.7 kB / 413.3 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009211, allocations: 0 / 413.3 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.009395, allocations: 83.94 kB / 413.4 MB, free: 0.7812 MB / 394.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 8.94e-05/0.009485, allocations: 96.34 kB / 413.4 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.00973, allocations: 250.3 kB / 413.7 MB, free: 444 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.009738, allocations: 4 kB / 413.7 MB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.009872, allocations: 146.7 kB / 413.8 MB, free: 292 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01011, allocations: 303.5 kB / 414.1 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.01125, allocations: 0.532 MB / 414.7 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.0113, allocations: 93.61 kB / 414.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.998e-05/0.01139, allocations: 38.97 kB / 414.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.01153, allocations: 111.3 kB / 414.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01153, allocations: 0 / 414.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of Templates: time 0.00517/0.0167, allocations: 3.979 MB / 418.9 MB, free: 11.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.073126711882651]