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.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.001799/0.001799, allocations: 75.36 kB / 20.51 MB, free: 1.281 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.002362/0.002362, allocations: 170.3 kB / 23.77 MB, free: 4.457 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.493/1.493, allocations: 177.2 MB / 204.1 MB, free: 8.945 MB / 190.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.945/0.945, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.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.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: 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.002084/0.002084, allocations: 71.72 kB / 0.555 GB, free: 2.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1611, allocations: 89.14 MB / 0.6421 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002342/0.1635, allocations: 0.8182 MB / 0.6429 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1658, allocations: 1.338 MB / 0.6442 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.1659, allocations: 3.938 kB / 0.6442 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.166, allocations: 7.875 kB / 0.6442 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1661, allocations: 43.7 kB / 0.6442 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.1669, allocations: 264.4 kB / 0.6445 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000403/0.1674, allocations: 287.4 kB / 0.6448 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1675, allocations: 25.28 kB / 0.6448 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1677, allocations: 135.7 kB / 0.6449 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.168, allocations: 123.5 kB / 0.645 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.1681, allocations: 24 kB / 0.6451 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1682, allocations: 39.98 kB / 0.6451 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.1683, allocations: 39.89 kB / 0.6451 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1684, allocations: 91.67 kB / 0.6452 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.1688, allocations: 271 kB / 0.6455 GB, free: 6.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1688, allocations: 0 / 0.6455 GB, free: 6.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.377e-06/0.1688, allocations: 4 kB / 0.6455 GB, free: 6.051 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.1688, allocations: 7.938 kB / 0.6455 GB, free: 6.043 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.0009342/0.1697, allocations: 477.4 kB / 0.6459 GB, free: 5.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1697, allocations: 8.031 kB / 0.6459 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.1699, allocations: 32.83 kB / 0.646 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1702, allocations: 166.3 kB / 0.6461 GB, free: 5.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1702, allocations: 12.38 kB / 0.6462 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.1703, allocations: 20.36 kB / 0.6462 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.1707, allocations: 186.7 kB / 0.6463 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1707, allocations: 192 / 0.6463 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1707, allocations: 11.92 kB / 0.6464 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1707, allocations: 7.984 kB / 0.6464 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.171, allocations: 92.17 kB / 0.6465 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.1716, allocations: 368.4 kB / 0.6468 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1718, allocations: 114.5 kB / 0.6469 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.172, allocations: 84.81 kB / 0.647 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.172, allocations: 0 / 0.647 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.1724, allocations: 216.5 kB / 0.6472 GB, free: 4.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.1724, allocations: 0 / 0.6472 GB, free: 4.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.0009072/0.1733, allocations: 453.1 kB / 0.6476 GB, free: 3.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1734, allocations: 63.39 kB / 0.6477 GB, free: 3.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1735, allocations: 140.1 kB / 0.6478 GB, free: 3.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.1736, allocations: 45.69 kB / 0.6479 GB, free: 3.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.1736, allocations: 108.7 kB / 0.648 GB, free: 3.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.1737, allocations: 67.58 kB / 0.648 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1739, allocations: 86 kB / 0.6481 GB, free: 3.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.174, allocations: 338.9 kB / 0.6484 GB, free: 2.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.1744, allocations: 208.1 kB / 0.6486 GB, free: 2.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.1748, allocations: 276.8 kB / 0.6489 GB, free: 2.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.1753, allocations: 358.3 kB / 0.6492 GB, free: 1.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1753, allocations: 0 / 0.6492 GB, free: 1.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009386/0.1763, allocations: 0.5652 MB / 0.6498 GB, free: 1.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.1764, allocations: 75.33 kB / 0.6499 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1764, allocations: 0 / 0.6499 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1764, allocations: 4 kB / 0.6499 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.1766, allocations: 51.91 kB / 0.6499 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1766, allocations: 4 kB / 0.6499 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.177, allocations: 71.91 kB / 0.65 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.1771, allocations: 27.97 kB / 0.65 GB, free: 1.086 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.0001864/0.1772, allocations: 169 kB / 0.6502 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1773, allocations: 15.91 kB / 0.6502 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.1773, allocations: 17.97 kB / 0.6502 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1773, allocations: 0 / 0.6502 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1773, allocations: 4 kB / 0.6502 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1773, allocations: 8.078 kB / 0.6502 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008501/0.1782, allocations: 0.6009 MB / 0.6508 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1782, allocations: 4 kB / 0.6508 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.1782, allocations: 7.984 kB / 0.6508 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1782, allocations: 0 / 0.6508 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1783, allocations: 7.984 kB / 0.6508 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1783, allocations: 0 / 0.6508 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1783, allocations: 0 / 0.6508 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.179, allocations: 467.3 kB / 0.6513 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.179, allocations: 27.78 kB / 0.6513 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.179, allocations: 19.97 kB / 0.6513 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1792, allocations: 8 kB / 0.6513 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.1792, allocations: 15.91 kB / 0.6514 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.1792, allocations: 23.98 kB / 0.6514 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.1793, allocations: 104.8 kB / 0.6515 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1793, allocations: 0 / 0.6515 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000345/0.1797, allocations: 63.95 kB / 0.6515 GB, free: 15.47 MB / 0.5606 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.0002023/0.1799, allocations: 133.2 kB / 0.6517 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007798/0.1807, allocations: 473.9 kB / 0.6521 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1807, allocations: 0 / 0.6521 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1809, allocations: 107.3 kB / 0.6522 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1812, allocations: 31.84 kB / 0.6522 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.1819, allocations: 335.6 kB / 0.6526 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.182, allocations: 102.6 kB / 0.6527 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.96e-05/0.1821, allocations: 17.64 kB / 0.6527 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.1821, allocations: 28.48 kB / 0.6527 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1821, allocations: 0 / 0.6527 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.008291/0.1904, allocations: 3.844 MB / 0.6565 GB, free: 10.4 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.495474022929557] Failed to read output from testmodel.py, exit status != 0: 0.1982278999639675 0.21243891299999995 0.04067693899999994 Calling exit ...