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.001274/0.001274, allocations: 71.75 kB / 20.51 MB, free: 1.273 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.001401/0.001401, allocations: 163 kB / 23.76 MB, free: 4.445 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.43/1.43, allocations: 177.2 MB / 204.1 MB, free: 8.98 MB / 190.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 0.9132/0.9132, allocations: 113.9 MB / 374.5 MB, free: 12.89 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.002153/0.002153, allocations: 77.84 kB / 0.5551 GB, free: 2.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1756, allocations: 89.15 MB / 0.6422 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003361/0.179, allocations: 1.894 MB / 0.644 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1803, allocations: 0.6974 MB / 0.6447 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1804, allocations: 0 / 0.6447 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.317e-05/0.1805, allocations: 23.67 kB / 0.6447 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.1806, allocations: 43.59 kB / 0.6447 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.1812, allocations: 175.6 kB / 0.6449 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.1816, allocations: 327.1 kB / 0.6452 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1818, allocations: 40.84 kB / 0.6453 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.182, allocations: 143.5 kB / 0.6454 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1823, allocations: 143.3 kB / 0.6455 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.1823, allocations: 28 kB / 0.6456 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.1824, allocations: 35.98 kB / 0.6456 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.1825, allocations: 75.8 kB / 0.6457 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1826, allocations: 119.5 kB / 0.6458 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.183, allocations: 318.8 kB / 0.6461 GB, free: 5.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.183, allocations: 0 / 0.6461 GB, free: 5.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.183, allocations: 0 / 0.6461 GB, free: 5.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.183, allocations: 0 / 0.6461 GB, free: 5.43 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.001586/0.1846, allocations: 0.5637 MB / 0.6466 GB, free: 4.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1847, allocations: 8.031 kB / 0.6466 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.185, allocations: 64.72 kB / 0.6467 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.1854, allocations: 187.4 kB / 0.6469 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.1858, allocations: 499.7 kB / 0.6474 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.1858, allocations: 36.31 kB / 0.6474 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.1863, allocations: 258.7 kB / 0.6476 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1864, allocations: 3.984 kB / 0.6477 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.1864, allocations: 8 kB / 0.6477 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1864, allocations: 7.938 kB / 0.6477 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.1868, allocations: 179.8 kB / 0.6478 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1879, allocations: 0.6486 MB / 0.6485 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.1884, allocations: 199.7 kB / 0.6487 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.1888, allocations: 130.5 kB / 0.6488 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.1889, allocations: 12 kB / 0.6488 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.1894, allocations: 316.8 kB / 0.6491 GB, free: 2.078 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.1894, allocations: 0 / 0.6491 GB, free: 2.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001152/0.1906, allocations: 490.7 kB / 0.6496 GB, free: 1.594 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.1907, allocations: 118.8 kB / 0.6497 GB, free: 1.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1908, allocations: 186.8 kB / 0.6499 GB, free: 1.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.1909, allocations: 41.7 kB / 0.6499 GB, free: 1.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.191, allocations: 125.3 kB / 0.65 GB, free: 1.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1911, allocations: 150.8 kB / 0.6502 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1913, allocations: 110.3 kB / 0.6503 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1914, allocations: 338.8 kB / 0.6506 GB, free: 500 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.1917, allocations: 145.2 kB / 0.6507 GB, free: 356 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.1921, allocations: 256.7 kB / 0.651 GB, free: 60 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.1928, allocations: 398.1 kB / 0.6514 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1928, allocations: 4 kB / 0.6514 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008927/0.1937, allocations: 489.2 kB / 0.6518 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1937, allocations: 13.81 kB / 0.6518 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1937, allocations: 0 / 0.6518 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1937, allocations: 8 kB / 0.6518 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.1941, allocations: 99.77 kB / 0.6519 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.1941, allocations: 8 kB / 0.6519 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.1944, allocations: 59.73 kB / 0.652 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.1945, allocations: 23.94 kB / 0.652 GB, free: 14.93 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.0001766/0.1946, allocations: 162.9 kB / 0.6522 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.1947, allocations: 35.75 kB / 0.6522 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/0.1948, allocations: 33.95 kB / 0.6522 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1948, allocations: 8 kB / 0.6523 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1948, allocations: 4 kB / 0.6523 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1948, allocations: 3.984 kB / 0.6523 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1951, allocations: 237.1 kB / 0.6525 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.1951, allocations: 4.062 kB / 0.6525 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.1955, allocations: 75.89 kB / 0.6526 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1955, allocations: 96 / 0.6526 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.1955, allocations: 15.94 kB / 0.6526 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1955, allocations: 0 / 0.6526 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.1956, allocations: 7.984 kB / 0.6526 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1966, allocations: 0.5839 MB / 0.6532 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.1967, allocations: 35.73 kB / 0.6532 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.1967, allocations: 15.94 kB / 0.6532 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.197, allocations: 27.97 kB / 0.6532 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.1971, allocations: 55.91 kB / 0.6533 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.1972, allocations: 23.92 kB / 0.6533 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001088/0.1973, allocations: 128.4 kB / 0.6534 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1973, allocations: 0 / 0.6534 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003405/0.1976, allocations: 87.94 kB / 0.6535 GB, free: 13.34 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.0001662/0.1978, allocations: 115.2 kB / 0.6536 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007573/0.1985, allocations: 364.6 kB / 0.654 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1985, allocations: 0 / 0.654 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.1989, allocations: 183.7 kB / 0.6542 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1992, allocations: 42.58 kB / 0.6542 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2005, allocations: 0.6225 MB / 0.6548 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2006, allocations: 160.1 kB / 0.655 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.2008, allocations: 42.95 kB / 0.655 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2009, allocations: 40.5 kB / 0.655 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2009, allocations: 0 / 0.655 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.00872/0.2096, allocations: 4.016 MB / 0.659 GB, free: 7.781 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4964637260418385] Failed to read output from testmodel.py, exit status != 0: 0.2184477150440216 0.23288555600000002 0.046804099 Calling exit ...