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.00134/0.00134, allocations: 104.3 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.001459/0.001459, allocations: 208.6 kB / 23.74 MB, free: 4.547 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9392/0.9392, allocations: 149.9 MB / 463.8 MB, free: 10.3 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,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.002355/0.002355, allocations: 69.95 kB / 0.6424 GB, free: 9.555 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1679, allocations: 89.17 MB / 0.7294 GB, free: 464 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002466/0.1704, allocations: 1.013 MB / 0.7304 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.172, allocations: 1.131 MB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1721, allocations: 4 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.595e-05/0.1722, allocations: 15.75 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1723, allocations: 47.45 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.1728, allocations: 154.4 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.1732, allocations: 323.2 kB / 0.732 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1734, allocations: 36.56 kB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.1736, allocations: 143.5 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.1739, allocations: 127.5 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.1739, allocations: 32 kB / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.174, allocations: 32 kB / 0.7324 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.1741, allocations: 79.73 kB / 0.7325 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1742, allocations: 119.4 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.1746, allocations: 322.8 kB / 0.7329 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1746, allocations: 0 / 0.7329 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1746, allocations: 4 kB / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.1746, allocations: 0 / 0.7329 GB, free: 12.88 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.001223/0.1758, allocations: 0.552 MB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1759, allocations: 8.031 kB / 0.7335 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.1762, allocations: 64.66 kB / 0.7335 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1763, allocations: 147.1 kB / 0.7337 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.1767, allocations: 495.6 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.1768, allocations: 40.36 kB / 0.7342 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.1773, allocations: 250.3 kB / 0.7344 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.1773, allocations: 15.88 kB / 0.7344 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.1773, allocations: 15.98 kB / 0.7344 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1773, allocations: 4 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.1778, allocations: 179.8 kB / 0.7346 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1789, allocations: 0.6447 MB / 0.7352 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.1794, allocations: 199.7 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.1796, allocations: 122.8 kB / 0.7355 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.1796, allocations: 11.98 kB / 0.7356 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.1802, allocations: 311.4 kB / 0.7359 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.1802, allocations: 0 / 0.7359 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001051/0.1813, allocations: 0.4886 MB / 0.7363 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/0.1814, allocations: 114.8 kB / 0.7364 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1815, allocations: 187.5 kB / 0.7366 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.1816, allocations: 41.69 kB / 0.7367 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.1817, allocations: 109.4 kB / 0.7368 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.1818, allocations: 154.8 kB / 0.7369 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.182, allocations: 106.3 kB / 0.737 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1821, allocations: 338.8 kB / 0.7373 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.1825, allocations: 153.2 kB / 0.7375 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.1829, allocations: 252.8 kB / 0.7377 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.1835, allocations: 394 kB / 0.7381 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.1835, allocations: 4 kB / 0.7381 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008895/0.1844, allocations: 489 kB / 0.7386 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1844, allocations: 8 kB / 0.7386 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1845, allocations: 4 kB / 0.7386 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.1845, allocations: 11.94 kB / 0.7386 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.1848, allocations: 91.83 kB / 0.7387 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.1849, allocations: 19.86 kB / 0.7387 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.1851, allocations: 55.7 kB / 0.7388 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.1852, allocations: 20.06 kB / 0.7388 GB, free: 6.445 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.0001684/0.1853, allocations: 163.4 kB / 0.7389 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.1854, allocations: 31.84 kB / 0.739 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.1855, allocations: 37.91 kB / 0.739 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1855, allocations: 8.031 kB / 0.739 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1855, allocations: 0 / 0.739 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1855, allocations: 7.969 kB / 0.739 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.1858, allocations: 237 kB / 0.7392 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1858, allocations: 0 / 0.7392 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.1862, allocations: 75.89 kB / 0.7393 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1862, allocations: 4 kB / 0.7393 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.1862, allocations: 16 kB / 0.7393 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.1862, allocations: 7.938 kB / 0.7393 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1862, allocations: 3.984 kB / 0.7393 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1873, allocations: 0.5783 MB / 0.7399 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.1874, allocations: 27.78 kB / 0.7399 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.1874, allocations: 8 kB / 0.7399 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1876, allocations: 39.91 kB / 0.74 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.1877, allocations: 43.86 kB / 0.74 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.1878, allocations: 16 kB / 0.74 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001068/0.1879, allocations: 125.2 kB / 0.7401 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1879, allocations: 0 / 0.7401 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003277/0.1882, allocations: 83.95 kB / 0.7402 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.0001507/0.1883, allocations: 108.1 kB / 0.7403 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007336/0.1891, allocations: 372.2 kB / 0.7407 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1891, allocations: 0 / 0.7407 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.1894, allocations: 167.8 kB / 0.7408 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1898, allocations: 50.3 kB / 0.7409 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1909, allocations: 0.6551 MB / 0.7415 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1911, allocations: 160.2 kB / 0.7417 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1912, allocations: 39.42 kB / 0.7417 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.1912, allocations: 0 / 0.7417 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of Templates: time 0.007008/0.1982, allocations: 4.073 MB / 0.7457 GB, free: 15.24 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: 8.259354691021144] Failed to read output from testmodel.py, exit status != 0: 0.20694373594596982 0.22077061799999995 0.043065248 Calling exit ...