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.001981/0.001981, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002279/0.002279, allocations: 216.5 kB / 22.99 MB, free: 4.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.689/1.689, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.072/1.072, allocations: 149.9 MB / 463 MB, free: 10.4 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,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: 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.00393/0.00393, allocations: 64.72 kB / 0.6416 GB, free: 9.574 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2912, allocations: 89.17 MB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00357/0.2948, allocations: 1.004 MB / 0.7297 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.2966, allocations: 1.135 MB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.2967, allocations: 4 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.323e-05/0.2968, allocations: 23.67 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.297, allocations: 39.58 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.2976, allocations: 152.5 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000522/0.2981, allocations: 327.2 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2983, allocations: 40.5 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.2987, allocations: 135.6 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.2991, allocations: 135.3 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.2992, allocations: 28 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2993, allocations: 39.98 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2994, allocations: 75.78 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2995, allocations: 119.5 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.3, allocations: 314.7 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3, allocations: 0 / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3, allocations: 4 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.3001, allocations: 0 / 0.7321 GB, free: 12.91 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.001584/0.3016, allocations: 0.5637 MB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3017, allocations: 8.031 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.3021, allocations: 60.72 kB / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3023, allocations: 147 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/0.3027, allocations: 0.4918 MB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3028, allocations: 24.38 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.3034, allocations: 258.3 kB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.3034, allocations: 15.83 kB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3034, allocations: 8 kB / 0.7337 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3035, allocations: 4 kB / 0.7337 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.3039, allocations: 179.8 kB / 0.7339 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.3051, allocations: 0.6487 MB / 0.7345 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.3056, allocations: 195.7 kB / 0.7347 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.3059, allocations: 127.5 kB / 0.7348 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.3059, allocations: 11.94 kB / 0.7348 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006474/0.3066, allocations: 315.5 kB / 0.7351 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.3066, allocations: 0 / 0.7351 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001203/0.3078, allocations: 492.8 kB / 0.7356 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.3079, allocations: 114.8 kB / 0.7357 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3081, allocations: 187.5 kB / 0.7359 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.3081, allocations: 37.7 kB / 0.7359 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.3082, allocations: 113.4 kB / 0.736 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.3084, allocations: 158.7 kB / 0.7362 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.3086, allocations: 106.3 kB / 0.7363 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3088, allocations: 338.8 kB / 0.7366 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.3091, allocations: 153.2 kB / 0.7367 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.3095, allocations: 252.7 kB / 0.737 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.3102, allocations: 394.1 kB / 0.7373 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.3102, allocations: 0 / 0.7373 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009398/0.3112, allocations: 489.2 kB / 0.7378 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3112, allocations: 8 kB / 0.7378 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3112, allocations: 8 kB / 0.7378 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.3112, allocations: 7.938 kB / 0.7378 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.3116, allocations: 95.83 kB / 0.7379 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.3116, allocations: 15.88 kB / 0.7379 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.312, allocations: 59.64 kB / 0.738 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.312, allocations: 23.98 kB / 0.738 GB, free: 6.457 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.000215/0.3122, allocations: 163.5 kB / 0.7382 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.3123, allocations: 27.86 kB / 0.7382 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.682e-05/0.3123, allocations: 37.89 kB / 0.7382 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3124, allocations: 4 kB / 0.7382 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3124, allocations: 0 / 0.7382 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.3124, allocations: 4 kB / 0.7382 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.3127, allocations: 237 kB / 0.7385 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3127, allocations: 4 kB / 0.7385 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.3131, allocations: 71.89 kB / 0.7385 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3131, allocations: 4.062 kB / 0.7386 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.3132, allocations: 19.98 kB / 0.7386 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.3132, allocations: 7.938 kB / 0.7386 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3132, allocations: 0 / 0.7386 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.3144, allocations: 0.5861 MB / 0.7392 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.3144, allocations: 23.8 kB / 0.7392 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.3145, allocations: 15.98 kB / 0.7392 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.3147, allocations: 35.91 kB / 0.7392 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.3149, allocations: 59.91 kB / 0.7393 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3149, allocations: 16 kB / 0.7393 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000135/0.3151, allocations: 125.2 kB / 0.7394 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3151, allocations: 0 / 0.7394 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003679/0.3154, allocations: 83.95 kB / 0.7395 GB, free: 4.887 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.0001767/0.3156, allocations: 116 kB / 0.7396 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008243/0.3164, allocations: 364.2 kB / 0.74 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3164, allocations: 0 / 0.74 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.3168, allocations: 182.6 kB / 0.7401 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3172, allocations: 45.86 kB / 0.7402 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3185, allocations: 0.6261 MB / 0.7408 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.3186, allocations: 156.2 kB / 0.7409 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.3188, allocations: 38.95 kB / 0.741 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3189, allocations: 35.44 kB / 0.741 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.3189, allocations: 0 / 0.741 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of Templates: time 0.009767/0.3287, allocations: 4.23 MB / 0.7451 GB, free: 15.12 MB / 0.5762 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.593523103743792] Failed to read output from testmodel.py, exit status != 0: 0.3414700776338577 0.35495679199999997 0.051433000000000006 Calling exit ...