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.0014/0.0014, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001495/0.001495, allocations: 212.7 kB / 23.74 MB, free: 4.543 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.785 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 0.9498/0.9498, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.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.002091/0.002091, allocations: 65.67 kB / 0.6424 GB, free: 9.609 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1831, allocations: 89.17 MB / 0.7294 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003338/0.1864, allocations: 1.903 MB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1877, allocations: 0.6935 MB / 0.732 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.1878, allocations: 11.94 kB / 0.732 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.1879, allocations: 19.73 kB / 0.732 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.188, allocations: 43.52 kB / 0.732 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.1886, allocations: 167.1 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.189, allocations: 335 kB / 0.7325 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1892, allocations: 32.92 kB / 0.7326 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1894, allocations: 151.5 kB / 0.7327 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1896, allocations: 131.4 kB / 0.7328 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.1897, allocations: 32 kB / 0.7329 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.1898, allocations: 36 kB / 0.7329 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.1898, allocations: 71.8 kB / 0.733 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.19, allocations: 115.5 kB / 0.7331 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.1904, allocations: 326.6 kB / 0.7334 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1904, allocations: 4 kB / 0.7334 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1904, allocations: 0 / 0.7334 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1904, allocations: 0 / 0.7334 GB, free: 12.44 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.001287/0.1917, allocations: 0.5598 MB / 0.7339 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1917, allocations: 8.031 kB / 0.7339 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.1921, allocations: 68.7 kB / 0.734 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.1925, allocations: 187.3 kB / 0.7342 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/0.1929, allocations: 0.4918 MB / 0.7347 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.193, allocations: 28.33 kB / 0.7347 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.1937, allocations: 269.8 kB / 0.7349 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.1937, allocations: 4 kB / 0.7349 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.1937, allocations: 4 kB / 0.735 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.1937, allocations: 15.98 kB / 0.735 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.1943, allocations: 179.8 kB / 0.7351 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1954, allocations: 0.6486 MB / 0.7358 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.1959, allocations: 191.7 kB / 0.736 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.1962, allocations: 130.5 kB / 0.7361 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1962, allocations: 4 kB / 0.7361 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.1968, allocations: 324 kB / 0.7364 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.893e-06/0.1968, allocations: 0 / 0.7364 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001106/0.1979, allocations: 492.4 kB / 0.7369 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.198, allocations: 118.8 kB / 0.737 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1982, allocations: 182.8 kB / 0.7371 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.1982, allocations: 41.64 kB / 0.7372 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1983, allocations: 125.3 kB / 0.7373 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.1985, allocations: 154.8 kB / 0.7375 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1986, allocations: 102.3 kB / 0.7376 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.1988, allocations: 342.8 kB / 0.7379 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.1991, allocations: 145.2 kB / 0.738 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.1996, allocations: 256.8 kB / 0.7383 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.2003, allocations: 390 kB / 0.7386 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2003, allocations: 0 / 0.7386 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009762/0.2013, allocations: 497 kB / 0.7391 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2013, allocations: 7.938 kB / 0.7391 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2013, allocations: 4 kB / 0.7391 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.2013, allocations: 4 kB / 0.7391 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2017, allocations: 99.83 kB / 0.7392 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.2018, allocations: 8.688 kB / 0.7392 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.202, allocations: 59.75 kB / 0.7393 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.2021, allocations: 20 kB / 0.7393 GB, free: 5.957 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.0001854/0.2022, allocations: 159.4 kB / 0.7395 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.2023, allocations: 43.67 kB / 0.7395 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.2024, allocations: 33.97 kB / 0.7395 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2024, allocations: 4 kB / 0.7395 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2024, allocations: 4.062 kB / 0.7395 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2024, allocations: 4.078 kB / 0.7395 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.2027, allocations: 241 kB / 0.7398 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2027, allocations: 7.984 kB / 0.7398 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.2031, allocations: 75.83 kB / 0.7399 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2031, allocations: 4 kB / 0.7399 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.2031, allocations: 15.92 kB / 0.7399 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.2032, allocations: 4 kB / 0.7399 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2032, allocations: 4 kB / 0.7399 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.2043, allocations: 0.5814 MB / 0.7404 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.2043, allocations: 27.75 kB / 0.7405 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.2044, allocations: 15.94 kB / 0.7405 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2046, allocations: 32.05 kB / 0.7405 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2047, allocations: 47.88 kB / 0.7406 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.2047, allocations: 15.98 kB / 0.7406 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001192/0.2048, allocations: 132.4 kB / 0.7407 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2048, allocations: 0 / 0.7407 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003155/0.2052, allocations: 79.95 kB / 0.7408 GB, free: 4.375 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.0001668/0.2053, allocations: 115.2 kB / 0.7409 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007697/0.2061, allocations: 370.7 kB / 0.7412 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2061, allocations: 0 / 0.7412 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.2065, allocations: 171.8 kB / 0.7414 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.2069, allocations: 40.42 kB / 0.7414 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2081, allocations: 0.6631 MB / 0.7421 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.2082, allocations: 160.2 kB / 0.7422 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.2084, allocations: 35.62 kB / 0.7423 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2084, allocations: 0 / 0.7423 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of Templates: time 0.007028/0.2154, allocations: 4.137 MB / 0.7463 GB, free: 14.66 MB / 0.5762 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: 8.300388196948916] Failed to read output from testmodel.py, exit status != 0: 0.22453166591003537 0.239531448 0.046089829000000006 Calling exit ...