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.0007909/0.0007909, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0008184/0.0008184, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8953/0.8953, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.5706/0.5706, allocations: 114 MB / 374.7 MB, free: 8.707 MB / 346.7 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: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 0.5554 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.227e-05, allocations: 5.672 kB / 0.5554 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001769/0.001801, allocations: 0.8381 MB / 0.5562 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.003512, allocations: 1.338 MB / 0.5575 GB, free: 108 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.003581, allocations: 0 / 0.5575 GB, free: 108 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.003704, allocations: 15.8 kB / 0.5575 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.003856, allocations: 35.72 kB / 0.5576 GB, free: 56 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.00463, allocations: 280.9 kB / 0.5578 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.004976, allocations: 287.4 kB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.005122, allocations: 21.3 kB / 0.5581 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.005449, allocations: 175.7 kB / 0.5583 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.005686, allocations: 107.8 kB / 0.5584 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.00573, allocations: 24 kB / 0.5584 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.00583, allocations: 39.98 kB / 0.5585 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.005918, allocations: 47.83 kB / 0.5585 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.006015, allocations: 75.86 kB / 0.5586 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.006389, allocations: 315.1 kB / 0.5589 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.006393, allocations: 0 / 0.5589 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.894e-06/0.006395, allocations: 4 kB / 0.5589 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.006401, allocations: 0 / 0.5589 GB, free: 14.71 MB / 0.5261 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.0009628/0.007364, allocations: 479.7 kB / 0.5593 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.007409, allocations: 8.031 kB / 0.5594 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.007604, allocations: 36.83 kB / 0.5594 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.007848, allocations: 167.1 kB / 0.5595 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.007881, allocations: 16.36 kB / 0.5596 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.007914, allocations: 16.38 kB / 0.5596 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.0082, allocations: 190.6 kB / 0.5598 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00821, allocations: 192 / 0.5598 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.008228, allocations: 384 / 0.5598 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.008236, allocations: 4.375 kB / 0.5598 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.008366, allocations: 96.11 kB / 0.5599 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.008835, allocations: 360.5 kB / 0.5602 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.009011, allocations: 122.3 kB / 0.5603 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.009108, allocations: 85.5 kB / 0.5604 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.009124, allocations: 0 / 0.5604 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.009354, allocations: 215.8 kB / 0.5606 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.009356, allocations: 0 / 0.5606 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0005839/0.00994, allocations: 455.5 kB / 0.561 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.009989, allocations: 63.27 kB / 0.5611 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.01009, allocations: 151.7 kB / 0.5612 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.01012, allocations: 37.7 kB / 0.5613 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.01019, allocations: 108.7 kB / 0.5614 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.01024, allocations: 71.5 kB / 0.5615 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.01034, allocations: 89.98 kB / 0.5615 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.01043, allocations: 330.8 kB / 0.5619 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.01065, allocations: 208.1 kB / 0.5621 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.01089, allocations: 269 kB / 0.5623 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.01124, allocations: 370.3 kB / 0.5627 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01124, allocations: 0 / 0.5627 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005689/0.01181, allocations: 0.5535 MB / 0.5632 GB, free: 10 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.01186, allocations: 67.39 kB / 0.5633 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.01187, allocations: 4 kB / 0.5633 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.01189, allocations: 4 kB / 0.5633 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.01205, allocations: 52.03 kB / 0.5633 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.01205, allocations: 4 kB / 0.5633 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.01224, allocations: 79.75 kB / 0.5634 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.01227, allocations: 19.98 kB / 0.5634 GB, free: 9.762 MB / 0.5261 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.0001212/0.01239, allocations: 169.8 kB / 0.5636 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.01241, allocations: 23.89 kB / 0.5636 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.01244, allocations: 9.969 kB / 0.5636 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01244, allocations: 4 kB / 0.5636 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01244, allocations: 0 / 0.5636 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01245, allocations: 3.938 kB / 0.5636 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.01294, allocations: 0.5845 MB / 0.5642 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01294, allocations: 0 / 0.5642 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.01296, allocations: 7.984 kB / 0.5642 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01297, allocations: 4 kB / 0.5642 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.01298, allocations: 11.98 kB / 0.5642 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01298, allocations: 4 kB / 0.5642 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01299, allocations: 0 / 0.5642 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.01336, allocations: 475.1 kB / 0.5647 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.01337, allocations: 23.84 kB / 0.5647 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.01341, allocations: 15.98 kB / 0.5647 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.01347, allocations: 7.984 kB / 0.5647 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.01351, allocations: 19.97 kB / 0.5647 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.01353, allocations: 15.98 kB / 0.5648 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.01357, allocations: 105.5 kB / 0.5649 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01357, allocations: 7.938 kB / 0.5649 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002207/0.0138, allocations: 67.98 kB / 0.5649 GB, free: 8.16 MB / 0.5261 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.0001543/0.01395, allocations: 133.1 kB / 0.5651 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.01441, allocations: 492.9 kB / 0.5655 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01441, allocations: 0 / 0.5655 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01453, allocations: 96.2 kB / 0.5656 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01477, allocations: 31.97 kB / 0.5656 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.01522, allocations: 340.4 kB / 0.566 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.01528, allocations: 106.5 kB / 0.5661 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.01532, allocations: 24.5 kB / 0.5661 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.01532, allocations: 0 / 0.5661 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.00333/0.01865, allocations: 3.101 MB / 0.5691 GB, free: 3.793 MB / 0.5261 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.096483511850238] Failed to read output from testmodel.py, exit status != 0: 0.024285833351314068 0.031600608 0.023506501000000003 Calling exit ...