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.001375/0.001375, allocations: 119.2 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.002583/0.002583, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.114/1.114, allocations: 150 MB / 463.2 MB, free: 10.47 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.002139/0.002139, allocations: 63.84 kB / 0.6418 GB, free: 9.824 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2309, allocations: 89.17 MB / 0.7289 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003238/0.2342, allocations: 1.106 MB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2359, allocations: 1.151 MB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.236, allocations: 4 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.288e-05/0.2361, allocations: 23.73 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2362, allocations: 39.58 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.2367, allocations: 154.7 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.2371, allocations: 327.1 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.2372, allocations: 32.58 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.2375, allocations: 147.6 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2377, allocations: 151.3 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.2378, allocations: 32 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.919e-05/0.2379, allocations: 36 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.2379, allocations: 71.8 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.2381, allocations: 135.4 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.2385, allocations: 322.7 kB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2385, allocations: 0 / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2385, allocations: 0 / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.2385, allocations: 0 / 0.7325 GB, free: 13 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.001279/0.2398, allocations: 0.5559 MB / 0.733 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2398, allocations: 12.03 kB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.2401, allocations: 60.72 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.2403, allocations: 151 kB / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.2407, allocations: 495.6 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.2407, allocations: 28.38 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.2412, allocations: 262.3 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.2413, allocations: 7.891 kB / 0.734 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.2413, allocations: 15.98 kB / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.2413, allocations: 4 kB / 0.734 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.2417, allocations: 169.9 kB / 0.7342 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.243, allocations: 0.7417 MB / 0.7349 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.2435, allocations: 211.6 kB / 0.7351 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.2438, allocations: 118.5 kB / 0.7352 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.2438, allocations: 15.98 kB / 0.7352 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.2444, allocations: 315.8 kB / 0.7355 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.873e-06/0.2444, allocations: 0 / 0.7355 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001081/0.2455, allocations: 488.1 kB / 0.736 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.2456, allocations: 114.8 kB / 0.7361 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.2458, allocations: 179.5 kB / 0.7363 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.2458, allocations: 49.7 kB / 0.7363 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.2459, allocations: 117.3 kB / 0.7364 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.2461, allocations: 158.8 kB / 0.7366 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.2463, allocations: 110.3 kB / 0.7367 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2464, allocations: 334.8 kB / 0.737 GB, free: 8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.2468, allocations: 149.2 kB / 0.7371 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.2472, allocations: 252.8 kB / 0.7374 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006938/0.2479, allocations: 402 kB / 0.7378 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2479, allocations: 0 / 0.7378 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008779/0.2488, allocations: 485.7 kB / 0.7382 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2488, allocations: 7.938 kB / 0.7382 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2488, allocations: 4.078 kB / 0.7382 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2488, allocations: 8 kB / 0.7383 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.2492, allocations: 99.83 kB / 0.7383 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.2492, allocations: 7.984 kB / 0.7384 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.2495, allocations: 67.62 kB / 0.7384 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.2496, allocations: 20 kB / 0.7384 GB, free: 6.449 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.0002047/0.2498, allocations: 159.5 kB / 0.7386 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.2498, allocations: 27.8 kB / 0.7386 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.2499, allocations: 33.95 kB / 0.7387 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2499, allocations: 4 kB / 0.7387 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.2499, allocations: 4 kB / 0.7387 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.2499, allocations: 3.984 kB / 0.7387 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.2504, allocations: 328.3 kB / 0.739 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2504, allocations: 0 / 0.739 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.2508, allocations: 71.95 kB / 0.739 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.2508, allocations: 11.94 kB / 0.7391 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.2508, allocations: 19.98 kB / 0.7391 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.2508, allocations: 7.938 kB / 0.7391 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2508, allocations: 0 / 0.7391 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.252, allocations: 0.5822 MB / 0.7397 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.252, allocations: 23.8 kB / 0.7397 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.252, allocations: 11.94 kB / 0.7397 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.2523, allocations: 35.95 kB / 0.7397 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.2524, allocations: 59.94 kB / 0.7398 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.2524, allocations: 12 kB / 0.7398 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00012/0.2526, allocations: 129.2 kB / 0.7399 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2526, allocations: 4 kB / 0.7399 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003629/0.2529, allocations: 83.95 kB / 0.74 GB, free: 4.781 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.0001832/0.2531, allocations: 116 kB / 0.7401 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000789/0.2539, allocations: 366.5 kB / 0.7405 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2539, allocations: 4 kB / 0.7405 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.2543, allocations: 175.8 kB / 0.7406 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.2546, allocations: 43.91 kB / 0.7407 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.2559, allocations: 0.6222 MB / 0.7413 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.2563, allocations: 0.7648 MB / 0.742 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.2565, allocations: 43.22 kB / 0.7421 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2566, allocations: 35.44 kB / 0.7421 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.2566, allocations: 0 / 0.7421 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of Templates: time 0.009229/0.2658, allocations: 4.138 MB / 0.7461 GB, free: 14.44 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.460655699018389] Failed to read output from testmodel.py, exit status != 0: 0.27472396986559033 0.29457909599999993 0.051563435000000005 Calling exit ...