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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 105.4 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001684, allocations: 193.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.098/1.098, allocations: 147.6 MB / 445.5 MB, free: 8.348 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.77 kB / 0.6114 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1579, allocations: 83.16 MB / 0.6926 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003206/0.1612, allocations: 1.951 MB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1623, allocations: 0.6418 MB / 0.6952 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.1624, allocations: 1.406 kB / 0.6952 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.576e-05/0.1625, allocations: 25.02 kB / 0.6952 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1627, allocations: 39.58 kB / 0.6952 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.1631, allocations: 153.9 kB / 0.6954 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.1635, allocations: 331.1 kB / 0.6957 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1637, allocations: 44.95 kB / 0.6957 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1639, allocations: 131.9 kB / 0.6959 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1641, allocations: 147.3 kB / 0.696 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.1642, allocations: 28.88 kB / 0.696 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.1642, allocations: 34.19 kB / 0.6961 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.1643, allocations: 84.09 kB / 0.6961 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1645, allocations: 132.4 kB / 0.6963 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1648, allocations: 308.2 kB / 0.6966 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1648, allocations: 0 / 0.6966 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1649, allocations: 0 / 0.6966 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1649, allocations: 0 / 0.6966 GB, free: 10.04 MB / 0.5137 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.001337/0.1662, allocations: 0.6346 MB / 0.6972 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.1663, allocations: 8.875 kB / 0.6972 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1664, allocations: 34.59 kB / 0.6972 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1666, allocations: 198.6 kB / 0.6974 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.167, allocations: 266.4 kB / 0.6977 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.1671, allocations: 27.88 kB / 0.6977 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.1677, allocations: 259.8 kB / 0.6979 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.1678, allocations: 6.188 kB / 0.6979 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.1678, allocations: 9.531 kB / 0.6979 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1678, allocations: 5.625 kB / 0.698 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.1683, allocations: 176.5 kB / 0.6981 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1697, allocations: 0.7853 MB / 0.6989 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.1703, allocations: 211.7 kB / 0.6991 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.1706, allocations: 122.5 kB / 0.6992 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.1707, allocations: 19.92 kB / 0.6992 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006774/0.1714, allocations: 303.7 kB / 0.6995 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 3.637e-06/0.1714, allocations: 0 / 0.6995 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001169/0.1726, allocations: 487.7 kB / 0.7 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.1727, allocations: 118.8 kB / 0.7001 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1729, allocations: 179.5 kB / 0.7003 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.1729, allocations: 45.7 kB / 0.7003 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.173, allocations: 117.3 kB / 0.7004 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1732, allocations: 158.8 kB / 0.7006 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1734, allocations: 106.3 kB / 0.7007 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1735, allocations: 338.8 kB / 0.701 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.1739, allocations: 149.2 kB / 0.7011 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.1742, allocations: 248.8 kB / 0.7014 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.1749, allocations: 402 kB / 0.7018 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1749, allocations: 0 / 0.7018 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008761/0.1758, allocations: 493 kB / 0.7022 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1758, allocations: 7.938 kB / 0.7022 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1759, allocations: 4 kB / 0.7022 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1759, allocations: 12 kB / 0.7023 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.1763, allocations: 95.83 kB / 0.7023 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.1763, allocations: 11.92 kB / 0.7024 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1766, allocations: 55.75 kB / 0.7024 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.1767, allocations: 20 kB / 0.7024 GB, free: 3.965 MB / 0.5137 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.0001833/0.1768, allocations: 159.5 kB / 0.7026 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.1769, allocations: 35.73 kB / 0.7026 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.177, allocations: 29.88 kB / 0.7026 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.177, allocations: 8 kB / 0.7027 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.177, allocations: 0 / 0.7027 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.177, allocations: 3.984 kB / 0.7027 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.1774, allocations: 357.2 kB / 0.703 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1774, allocations: 3.984 kB / 0.703 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.1778, allocations: 71.84 kB / 0.7031 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1778, allocations: 4 kB / 0.7031 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.1779, allocations: 20.08 kB / 0.7031 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1779, allocations: 4 kB / 0.7031 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1779, allocations: 0 / 0.7031 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.179, allocations: 0.5934 MB / 0.7037 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.1791, allocations: 104.8 kB / 0.7038 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.1792, allocations: 11.98 kB / 0.7038 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.1794, allocations: 31.97 kB / 0.7038 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.1795, allocations: 51.94 kB / 0.7039 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.1796, allocations: 20.05 kB / 0.7039 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001028/0.1797, allocations: 125.2 kB / 0.704 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1797, allocations: 4 kB / 0.704 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003445/0.18, allocations: 83.92 kB / 0.7041 GB, free: 2.168 MB / 0.5137 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.0002065/0.1802, allocations: 120.9 kB / 0.7042 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007848/0.181, allocations: 388.5 kB / 0.7046 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1811, allocations: 4 kB / 0.7046 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.1814, allocations: 188.7 kB / 0.7048 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1818, allocations: 53.89 kB / 0.7048 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.183, allocations: 0.6138 MB / 0.7054 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1834, allocations: 0.7725 MB / 0.7062 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.1835, allocations: 34.97 kB / 0.7062 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1836, allocations: 39.42 kB / 0.7062 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1836, allocations: 0 / 0.7062 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.008356/0.192, allocations: 3.942 MB / 0.7101 GB, free: 11.99 MB / 0.5294 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: 5.901068163104355] Failed to read output from testmodel.py, exit status != 0: 0.48564341897144914 0.21237488300000001 0.044839695000000006 Calling exit ...