Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001331/0.001331, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001001/0.001001, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9874/0.9874, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.98/1.98, allocations: 389.6 MB / 0.6354 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.225e-05, allocations: 7 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002864/0.002896, allocations: 0.9157 MB / 0.7761 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.005627, allocations: 1.37 MB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.005731, allocations: 3.938 kB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.005868, allocations: 16.52 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.00607, allocations: 35.61 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.006795, allocations: 268.7 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.007113, allocations: 296.5 kB / 0.778 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.007223, allocations: 25.94 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.007511, allocations: 176.3 kB / 0.7782 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.007731, allocations: 112.4 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.007771, allocations: 24 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.007862, allocations: 47.25 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.007922, allocations: 39.89 kB / 0.7784 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.007999, allocations: 83.86 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.008266, allocations: 227.3 kB / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.00827, allocations: 0 / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.502e-06/0.008271, allocations: 0 / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.008277, allocations: 0 / 0.7787 GB, free: 1.809 MB / 0.7292 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.0007152/0.008992, allocations: 446.9 kB / 0.7791 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.009037, allocations: 12.81 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.009216, allocations: 48.81 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.009422, allocations: 145.6 kB / 0.7793 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.009444, allocations: 8.375 kB / 0.7793 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.009474, allocations: 24.36 kB / 0.7794 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.009672, allocations: 143.4 kB / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.00968, allocations: 192 / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.009695, allocations: 12.36 kB / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.009702, allocations: 4.375 kB / 0.7795 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.009758, allocations: 38.27 kB / 0.7796 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.01011, allocations: 251.8 kB / 0.7798 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01023, allocations: 114.9 kB / 0.7799 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.01028, allocations: 37.86 kB / 0.7799 GB, free: 464 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.01029, allocations: 4.188 kB / 0.7799 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.01047, allocations: 164.5 kB / 0.7801 GB, free: 284 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/0.01047, allocations: 1.562 kB / 0.7801 GB, free: 284 kB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002717/0.01075, allocations: 189.8 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.01078, allocations: 63.39 kB / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.01088, allocations: 141.1 kB / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.01092, allocations: 38.39 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.01097, allocations: 108.7 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.01101, allocations: 72.59 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.01111, allocations: 73.97 kB / 0.7808 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.0112, allocations: 346.8 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.01134, allocations: 128.8 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.01148, allocations: 184.9 kB / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.01169, allocations: 250.1 kB / 0.7816 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01169, allocations: 0 / 0.7816 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003574/0.01205, allocations: 382.8 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.0121, allocations: 63.39 kB / 0.782 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.01211, allocations: 0.875 kB / 0.782 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01213, allocations: 4 kB / 0.7821 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01228, allocations: 56.47 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01229, allocations: 4.812 kB / 0.7821 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01244, allocations: 60.8 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.01247, allocations: 19.98 kB / 0.7822 GB, free: 13.96 MB / 0.7448 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.000144/0.01261, allocations: 166.1 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.01265, allocations: 25.03 kB / 0.7824 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.01267, allocations: 9.969 kB / 0.7824 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01268, allocations: 4 kB / 0.7824 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01268, allocations: 1.062 kB / 0.7824 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01268, allocations: 0 / 0.7824 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.01299, allocations: 367.1 kB / 0.7827 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.01299, allocations: 4.719 kB / 0.7827 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.01303, allocations: 11.98 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01303, allocations: 1 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01304, allocations: 7.984 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01305, allocations: 0 / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01305, allocations: 1 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.01326, allocations: 305.9 kB / 0.7831 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.01327, allocations: 20.91 kB / 0.7831 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.01331, allocations: 15.98 kB / 0.7831 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.01337, allocations: 11.98 kB / 0.7831 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.0134, allocations: 12.88 kB / 0.7831 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.01342, allocations: 15.98 kB / 0.7831 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.01345, allocations: 27.02 kB / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01345, allocations: 0.7188 kB / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002215/0.01367, allocations: 75.88 kB / 0.7832 GB, free: 12.86 MB / 0.7448 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.0001517/0.01382, allocations: 108.9 kB / 0.7833 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.01415, allocations: 356.8 kB / 0.7837 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01415, allocations: 5.375 kB / 0.7837 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.01423, allocations: 73.41 kB / 0.7837 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01445, allocations: 41.42 kB / 0.7838 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.01532, allocations: 300.8 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.01537, allocations: 76.19 kB / 0.7841 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.195e-05/0.01542, allocations: 19.48 kB / 0.7842 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.01556, allocations: 95.33 kB / 0.7843 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01556, allocations: 0.5625 kB / 0.7843 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.006029/0.02159, allocations: 4.066 MB / 0.7882 GB, free: 7.852 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.143797143828124]