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.001612/0.001612, allocations: 107.3 kB / 17.12 MB, free: 5.926 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.001923/0.001923, allocations: 205 kB / 20.09 MB, free: 2.977 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.001/1.001, allocations: 150 MB / 459.5 MB, free: 5.34 MB / 350.1 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: 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.002958/0.002958, allocations: 72.73 kB / 0.6366 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2735, allocations: 89.13 MB / 0.7237 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.005111/0.2787, allocations: 1.986 MB / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.2806, allocations: 0.7556 MB / 0.7264 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2807, allocations: 0 / 0.7264 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.2808, allocations: 23.67 kB / 0.7264 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.281, allocations: 35.59 kB / 0.7264 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.2817, allocations: 175.5 kB / 0.7266 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.2822, allocations: 331.1 kB / 0.7269 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2824, allocations: 40.72 kB / 0.7269 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.2827, allocations: 139.7 kB / 0.7271 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.2831, allocations: 155.5 kB / 0.7272 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.2831, allocations: 28 kB / 0.7272 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2833, allocations: 32 kB / 0.7273 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2834, allocations: 79.72 kB / 0.7274 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.2836, allocations: 143.3 kB / 0.7275 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.2841, allocations: 314.7 kB / 0.7278 GB, free: 15.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2841, allocations: 0 / 0.7278 GB, free: 15.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2841, allocations: 0 / 0.7278 GB, free: 15.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.2842, allocations: 4 kB / 0.7278 GB, free: 15.28 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.001927/0.2861, allocations: 0.6367 MB / 0.7284 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.2861, allocations: 8.031 kB / 0.7284 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.2867, allocations: 68.72 kB / 0.7285 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.2873, allocations: 245.1 kB / 0.7287 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.2877, allocations: 268.3 kB / 0.729 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.2878, allocations: 32.31 kB / 0.729 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.2886, allocations: 265.9 kB / 0.7293 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.2886, allocations: 3.984 kB / 0.7293 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.2887, allocations: 8 kB / 0.7293 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2887, allocations: 4 kB / 0.7293 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007224/0.2894, allocations: 183.8 kB / 0.7295 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.2911, allocations: 0.7698 MB / 0.7302 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.2918, allocations: 203.7 kB / 0.7304 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.2923, allocations: 126.5 kB / 0.7305 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.2923, allocations: 11.92 kB / 0.7305 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007873/0.2931, allocations: 319.9 kB / 0.7308 GB, free: 11.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/0.2931, allocations: 3.938 kB / 0.7308 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001708/0.2948, allocations: 490.8 kB / 0.7313 GB, free: 11.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.295, allocations: 114.8 kB / 0.7314 GB, free: 11.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.2952, allocations: 186.2 kB / 0.7316 GB, free: 11.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.2953, allocations: 41.7 kB / 0.7316 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2954, allocations: 121.3 kB / 0.7317 GB, free: 10.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.2956, allocations: 154.8 kB / 0.7319 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.2958, allocations: 102.3 kB / 0.732 GB, free: 10.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.296, allocations: 342.8 kB / 0.7323 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.2965, allocations: 149.2 kB / 0.7325 GB, free: 10.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.2972, allocations: 252.7 kB / 0.7327 GB, free: 9.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.2982, allocations: 394.1 kB / 0.7331 GB, free: 9.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2982, allocations: 0 / 0.7331 GB, free: 9.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001438/0.2997, allocations: 497.2 kB / 0.7336 GB, free: 8.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.2997, allocations: 8 kB / 0.7336 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2997, allocations: 4 kB / 0.7336 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.2997, allocations: 4 kB / 0.7336 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.3004, allocations: 99.81 kB / 0.7337 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/0.3004, allocations: 8 kB / 0.7337 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.3008, allocations: 59.75 kB / 0.7337 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.3009, allocations: 20 kB / 0.7337 GB, free: 8.758 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 (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.0002627/0.3011, allocations: 163.5 kB / 0.7339 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.3012, allocations: 35.75 kB / 0.7339 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.3013, allocations: 33.81 kB / 0.734 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3014, allocations: 4.094 kB / 0.734 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.3014, allocations: 7.984 kB / 0.734 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3014, allocations: 3.984 kB / 0.734 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.302, allocations: 361.1 kB / 0.7343 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.302, allocations: 4 kB / 0.7343 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.3024, allocations: 79.83 kB / 0.7344 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.3024, allocations: 4 kB / 0.7344 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.3025, allocations: 8 kB / 0.7344 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3025, allocations: 4 kB / 0.7344 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3025, allocations: 0 / 0.7344 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3038, allocations: 0.5863 MB / 0.735 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3039, allocations: 108.8 kB / 0.7351 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.3039, allocations: 8 kB / 0.7351 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3042, allocations: 32.16 kB / 0.7351 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.3044, allocations: 59.92 kB / 0.7352 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.3044, allocations: 15.94 kB / 0.7352 GB, free: 7.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001315/0.3045, allocations: 132.3 kB / 0.7353 GB, free: 7.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.3045, allocations: 0 / 0.7353 GB, free: 7.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003929/0.3049, allocations: 87.89 kB / 0.7354 GB, free: 6.945 MB / 0.545 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.0002975/0.3052, allocations: 119.3 kB / 0.7355 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000981/0.3062, allocations: 368.1 kB / 0.7359 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3062, allocations: 0 / 0.7359 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.3067, allocations: 183.7 kB / 0.7361 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.307, allocations: 48.86 kB / 0.7361 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3085, allocations: 0.6175 MB / 0.7367 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.3089, allocations: 0.7686 MB / 0.7375 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.309, allocations: 38.91 kB / 0.7375 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3092, allocations: 39.42 kB / 0.7375 GB, free: 4.715 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.3092, allocations: 0 / 0.7375 GB, free: 4.715 MB / 0.545 GB Notification: Performance of Templates: time 0.00895/0.3181, allocations: 3.973 MB / 0.7414 GB, free: 0.7734 MB / 0.545 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.4679947041440755] Failed to read output from testmodel.py, exit status != 0: 0.32851542602293193 0.34023531 0.053208380000000007 Calling exit ...