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.001389/0.001389, allocations: 114.8 kB / 19.59 MB, free: 2.301 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.001549/0.001549, allocations: 195.6 kB / 22.85 MB, free: 5.645 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.448/1.448, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.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 0.9765/0.9765, allocations: 149.5 MB / 456.3 MB, free: 1.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.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.002121/0.002121, allocations: 58.81 kB / 0.6324 GB, free: 9.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1732, allocations: 87.89 MB / 0.7182 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.0022/0.1754, allocations: 0.8607 MB / 0.719 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1774, allocations: 1.314 MB / 0.7203 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.1775, allocations: 4 kB / 0.7203 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1776, allocations: 19.8 kB / 0.7203 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1777, allocations: 23.78 kB / 0.7204 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007908/0.1785, allocations: 277.2 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.1789, allocations: 287.4 kB / 0.7209 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.179, allocations: 25.23 kB / 0.7209 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1793, allocations: 131.7 kB / 0.7211 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.1795, allocations: 127.7 kB / 0.7212 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.1796, allocations: 20 kB / 0.7212 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1797, allocations: 39.98 kB / 0.7212 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.1798, allocations: 43.83 kB / 0.7213 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1799, allocations: 103.6 kB / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.1803, allocations: 263.1 kB / 0.7216 GB, free: 13.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1803, allocations: 3.984 kB / 0.7216 GB, free: 13.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1803, allocations: 7.938 kB / 0.7216 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.1803, allocations: 0 / 0.7216 GB, free: 13.68 MB / 0.545 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.0009522/0.1813, allocations: 473.4 kB / 0.7221 GB, free: 13.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1813, allocations: 12.62 kB / 0.7221 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.1814, allocations: 20.84 kB / 0.7221 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1817, allocations: 174.2 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.1817, allocations: 12.38 kB / 0.7223 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.1817, allocations: 24.36 kB / 0.7223 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.1822, allocations: 183.7 kB / 0.7225 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1822, allocations: 192 / 0.7225 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1822, allocations: 11.92 kB / 0.7225 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1822, allocations: 4 kB / 0.7225 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.1824, allocations: 90.81 kB / 0.7226 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.1831, allocations: 439.8 kB / 0.723 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1834, allocations: 122.5 kB / 0.7231 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.1836, allocations: 80.81 kB / 0.7232 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1836, allocations: 3.938 kB / 0.7232 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.184, allocations: 209.2 kB / 0.7234 GB, free: 11.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.184, allocations: 0 / 0.7234 GB, free: 11.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.000974/0.185, allocations: 464.2 kB / 0.7239 GB, free: 11.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.185, allocations: 59.34 kB / 0.7239 GB, free: 11.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1852, allocations: 147.7 kB / 0.7241 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.1852, allocations: 45.69 kB / 0.7241 GB, free: 10.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.1853, allocations: 104.7 kB / 0.7242 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.1854, allocations: 67.52 kB / 0.7243 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1856, allocations: 89.98 kB / 0.7243 GB, free: 10.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1857, allocations: 334.8 kB / 0.7247 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.1861, allocations: 144.7 kB / 0.7248 GB, free: 10.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.1864, allocations: 209.2 kB / 0.725 GB, free: 10.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.187, allocations: 362.2 kB / 0.7254 GB, free: 9.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1871, allocations: 4 kB / 0.7254 GB, free: 9.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009872/0.188, allocations: 0.4994 MB / 0.7258 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.1881, allocations: 67.39 kB / 0.7259 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1881, allocations: 8.125 kB / 0.7259 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1881, allocations: 4 kB / 0.7259 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1884, allocations: 43.92 kB / 0.726 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1884, allocations: 7.984 kB / 0.726 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.1888, allocations: 79.66 kB / 0.726 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.1888, allocations: 19.98 kB / 0.7261 GB, free: 8.871 MB / 0.545 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.000198/0.189, allocations: 173.8 kB / 0.7262 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.1891, allocations: 19.89 kB / 0.7262 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.1891, allocations: 9.969 kB / 0.7263 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1891, allocations: 4 kB / 0.7263 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1891, allocations: 4 kB / 0.7263 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1891, allocations: 3.938 kB / 0.7263 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000942/0.1901, allocations: 0.6536 MB / 0.7269 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1901, allocations: 0 / 0.7269 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.1901, allocations: 4 kB / 0.7269 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1901, allocations: 0 / 0.7269 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.1902, allocations: 11.97 kB / 0.7269 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.1902, allocations: 3.938 kB / 0.7269 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1902, allocations: 4 kB / 0.7269 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.1909, allocations: 463.1 kB / 0.7274 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.1909, allocations: 27.78 kB / 0.7274 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.191, allocations: 15.98 kB / 0.7274 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1911, allocations: 11.92 kB / 0.7274 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.1912, allocations: 15.97 kB / 0.7274 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.1912, allocations: 19.98 kB / 0.7275 GB, free: 7.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.858e-05/0.1913, allocations: 113.8 kB / 0.7276 GB, free: 7.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1913, allocations: 0 / 0.7276 GB, free: 7.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003558/0.1917, allocations: 60 kB / 0.7276 GB, free: 7.191 MB / 0.545 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.0002076/0.1919, allocations: 145.1 kB / 0.7278 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007902/0.1927, allocations: 410.5 kB / 0.7282 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1927, allocations: 0 / 0.7282 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.1929, allocations: 107.9 kB / 0.7283 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1933, allocations: 36.2 kB / 0.7283 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.1939, allocations: 321.4 kB / 0.7286 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1943, allocations: 0.7167 MB / 0.7293 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.069e-05/0.1943, allocations: 21.64 kB / 0.7293 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.1944, allocations: 15.44 kB / 0.7293 GB, free: 5.363 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.1944, allocations: 0 / 0.7293 GB, free: 5.363 MB / 0.545 GB Notification: Performance of Templates: time 0.008283/0.2027, allocations: 3.707 MB / 0.733 GB, free: 1.688 MB / 0.545 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.764647527597845] Failed to read output from testmodel.py, exit status != 0: 0.21125804632902145 0.22655219899999995 0.043017608000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f700704d7b0>