Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.00129/0.00129, allocations: 105.1 kB / 17.07 MB, free: 5.938 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.001273/0.001273, allocations: 193.2 kB / 20.03 MB, free: 3.012 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.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.119/1.119, allocations: 147.6 MB / 445.5 MB, free: 8.203 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.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.7 kB / 0.6113 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 83.17 MB / 0.6926 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001966/0.1635, allocations: 0.8404 MB / 0.6934 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1654, allocations: 1.306 MB / 0.6947 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.1655, allocations: 6.312 kB / 0.6947 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1657, allocations: 11.86 kB / 0.6947 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1658, allocations: 36.23 kB / 0.6947 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000748/0.1666, allocations: 272.1 kB / 0.695 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.167, allocations: 294.8 kB / 0.6953 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1671, allocations: 29.47 kB / 0.6953 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.1673, allocations: 132.1 kB / 0.6954 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.1675, allocations: 119.5 kB / 0.6955 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.447e-05/0.1676, allocations: 23.38 kB / 0.6955 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1677, allocations: 48.78 kB / 0.6956 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1678, allocations: 40.22 kB / 0.6956 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.168, allocations: 103.2 kB / 0.6957 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1683, allocations: 259.8 kB / 0.696 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1683, allocations: 0 / 0.696 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.757e-06/0.1684, allocations: 1.375 kB / 0.696 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1684, allocations: 3.938 kB / 0.696 GB, free: 10.54 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000979/0.1694, allocations: 0.5414 MB / 0.6965 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1694, allocations: 13.38 kB / 0.6965 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.1695, allocations: 24.86 kB / 0.6965 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1698, allocations: 236.4 kB / 0.6968 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.1698, allocations: 12.75 kB / 0.6968 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.1699, allocations: 22.95 kB / 0.6968 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.1703, allocations: 178.2 kB / 0.697 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1703, allocations: 1.219 kB / 0.697 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.1703, allocations: 12.83 kB / 0.697 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1703, allocations: 3.25 kB / 0.697 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1706, allocations: 91.44 kB / 0.6971 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.1712, allocations: 468.8 kB / 0.6975 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.1715, allocations: 136.2 kB / 0.6977 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.1717, allocations: 93.41 kB / 0.6977 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.1718, allocations: 2.656 kB / 0.6977 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.1721, allocations: 217.7 kB / 0.698 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.1722, allocations: 0 / 0.698 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.000937/0.1731, allocations: 452.3 kB / 0.6984 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1732, allocations: 59.39 kB / 0.6984 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1733, allocations: 139.5 kB / 0.6986 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.1734, allocations: 49.69 kB / 0.6986 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.1735, allocations: 108.5 kB / 0.6987 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.1735, allocations: 71.5 kB / 0.6988 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.1737, allocations: 89.98 kB / 0.6989 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1739, allocations: 330.8 kB / 0.6992 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1742, allocations: 144.7 kB / 0.6993 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.1746, allocations: 213.2 kB / 0.6995 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.1752, allocations: 358.3 kB / 0.6999 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1752, allocations: 4 kB / 0.6999 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009097/0.1761, allocations: 0.4955 MB / 0.7004 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/0.1762, allocations: 69.42 kB / 0.7004 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1762, allocations: 4 kB / 0.7004 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1762, allocations: 0 / 0.7004 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.1765, allocations: 51.91 kB / 0.7005 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1765, allocations: 4 kB / 0.7005 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.1769, allocations: 87.77 kB / 0.7006 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.1769, allocations: 19.98 kB / 0.7006 GB, free: 5.953 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001977/0.1771, allocations: 165.8 kB / 0.7008 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1772, allocations: 15.91 kB / 0.7008 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1772, allocations: 21.86 kB / 0.7008 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1772, allocations: 4 kB / 0.7008 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1773, allocations: 0 / 0.7008 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1773, allocations: 3.938 kB / 0.7008 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.1782, allocations: 0.6591 MB / 0.7014 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1782, allocations: 0 / 0.7014 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.1782, allocations: 11.98 kB / 0.7014 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1783, allocations: 0 / 0.7014 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.1783, allocations: 15.92 kB / 0.7015 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.1783, allocations: 11.94 kB / 0.7015 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1783, allocations: 0 / 0.7015 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.179, allocations: 451.1 kB / 0.7019 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.1791, allocations: 96.95 kB / 0.702 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.1791, allocations: 11.98 kB / 0.702 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1793, allocations: 15.92 kB / 0.702 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.1793, allocations: 15.98 kB / 0.702 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.1794, allocations: 23.98 kB / 0.7021 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.307e-05/0.1795, allocations: 107.2 kB / 0.7022 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1795, allocations: 0 / 0.7022 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003737/0.1799, allocations: 60 kB / 0.7022 GB, free: 4.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002181/0.1801, allocations: 141.3 kB / 0.7024 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000784/0.1809, allocations: 450.6 kB / 0.7028 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1809, allocations: 4 kB / 0.7028 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.1811, allocations: 123.9 kB / 0.7029 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1815, allocations: 35.89 kB / 0.7029 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.1821, allocations: 309.1 kB / 0.7032 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1825, allocations: 0.7208 MB / 0.7039 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.403e-05/0.1826, allocations: 21.55 kB / 0.704 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1826, allocations: 19.44 kB / 0.704 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1826, allocations: 0 / 0.704 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of Templates: time 0.00767/0.1903, allocations: 3.576 MB / 0.7075 GB, free: 14.75 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.803883585613221] Failed to read output from testmodel.py, exit status != 0: 0.47065217327326536 0.210806132 0.039838326 Calling exit ...