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.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.001325/0.001325, allocations: 110.8 kB / 17.08 MB, free: 5.988 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.00141/0.00141, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.089/1.089, allocations: 147.6 MB / 445.5 MB, free: 8.289 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,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: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.94 kB / 0.6114 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1536, allocations: 83.17 MB / 0.6926 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002331/0.156, allocations: 1.093 MB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1576, allocations: 1.104 MB / 0.6948 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.1577, allocations: 2.312 kB / 0.6948 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.885e-05/0.1578, allocations: 19.69 kB / 0.6948 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.1579, allocations: 44.86 kB / 0.6948 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.1585, allocations: 145.2 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.1588, allocations: 323.1 kB / 0.6953 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.159, allocations: 48.95 kB / 0.6953 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1592, allocations: 131.9 kB / 0.6955 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1594, allocations: 151.3 kB / 0.6956 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.1595, allocations: 30.25 kB / 0.6956 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.1595, allocations: 28.88 kB / 0.6957 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.1596, allocations: 76.16 kB / 0.6957 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1597, allocations: 136.4 kB / 0.6959 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1601, allocations: 320.5 kB / 0.6962 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1601, allocations: 0 / 0.6962 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1601, allocations: 0 / 0.6962 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1601, allocations: 0 / 0.6962 GB, free: 10.25 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.001275/0.1614, allocations: 0.6307 MB / 0.6968 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1614, allocations: 9.469 kB / 0.6968 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.801e-05/0.1615, allocations: 33.41 kB / 0.6968 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1618, allocations: 199.2 kB / 0.697 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.162, allocations: 262.8 kB / 0.6973 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.1621, allocations: 39.52 kB / 0.6973 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.1626, allocations: 256.3 kB / 0.6976 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1627, allocations: 6.094 kB / 0.6976 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.1627, allocations: 9.562 kB / 0.6976 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1627, allocations: 5.438 kB / 0.6976 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.1632, allocations: 178.1 kB / 0.6977 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.1643, allocations: 0.7822 MB / 0.6985 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.1648, allocations: 211.6 kB / 0.6987 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.1651, allocations: 134.5 kB / 0.6988 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.1652, allocations: 7.984 kB / 0.6988 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005827/0.1658, allocations: 315.7 kB / 0.6991 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.1658, allocations: 0 / 0.6991 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.00113/0.1669, allocations: 495.6 kB / 0.6996 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.167, allocations: 114.8 kB / 0.6997 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1672, allocations: 175.5 kB / 0.6999 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.1673, allocations: 37.7 kB / 0.6999 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1674, allocations: 121.3 kB / 0.7 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.1675, allocations: 162.7 kB / 0.7002 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1677, allocations: 102.3 kB / 0.7003 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1679, allocations: 342.8 kB / 0.7006 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.1682, allocations: 149.2 kB / 0.7008 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.1687, allocations: 248.8 kB / 0.701 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.1694, allocations: 398 kB / 0.7014 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1694, allocations: 0 / 0.7014 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009062/0.1704, allocations: 493.2 kB / 0.7019 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1704, allocations: 11.94 kB / 0.7019 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1704, allocations: 4 kB / 0.7019 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.1704, allocations: 4 kB / 0.7019 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.1709, allocations: 91.83 kB / 0.702 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.1709, allocations: 8 kB / 0.702 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.1712, allocations: 59.69 kB / 0.702 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.1712, allocations: 23.98 kB / 0.702 GB, free: 4.277 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.0001929/0.1714, allocations: 155.5 kB / 0.7022 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1715, allocations: 35.75 kB / 0.7022 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.1716, allocations: 33.86 kB / 0.7023 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1716, allocations: 4 kB / 0.7023 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.1716, allocations: 0 / 0.7023 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1716, allocations: 4 kB / 0.7023 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.172, allocations: 365.2 kB / 0.7026 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.172, allocations: 4 kB / 0.7026 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.1724, allocations: 75.95 kB / 0.7027 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1725, allocations: 7.938 kB / 0.7027 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.1725, allocations: 11.98 kB / 0.7027 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1725, allocations: 4 kB / 0.7027 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1725, allocations: 0 / 0.7027 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1737, allocations: 0.5935 MB / 0.7033 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.1738, allocations: 108.8 kB / 0.7034 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.1738, allocations: 11.94 kB / 0.7034 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.1741, allocations: 35.95 kB / 0.7034 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.1743, allocations: 55.94 kB / 0.7035 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.1743, allocations: 19.98 kB / 0.7035 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001233/0.1744, allocations: 121.2 kB / 0.7036 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1744, allocations: 0 / 0.7036 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003623/0.1748, allocations: 80 kB / 0.7037 GB, free: 2.477 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.0002346/0.1751, allocations: 120.1 kB / 0.7038 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008384/0.1759, allocations: 388 kB / 0.7042 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1759, allocations: 0 / 0.7042 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.1763, allocations: 187.8 kB / 0.7044 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1767, allocations: 47.91 kB / 0.7044 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1779, allocations: 0.6108 MB / 0.705 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.1784, allocations: 0.7725 MB / 0.7058 GB, free: 308 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.1785, allocations: 34.97 kB / 0.7058 GB, free: 276 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1787, allocations: 35.44 kB / 0.7058 GB, free: 240 kB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1787, allocations: 0 / 0.7058 GB, free: 240 kB / 0.5137 GB Notification: Performance of Templates: time 0.008734/0.1874, allocations: 3.942 MB / 0.7097 GB, free: 12.32 MB / 0.5294 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: 5.933506554923952] Failed to read output from testmodel.py, exit status != 0: 0.46805608412250876 0.208520746 0.045823800000000005 Calling exit ...