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.0009541/0.0009541, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001229/0.001229, allocations: 167.5 kB / 25.05 MB, free: 9.191 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.9747/0.9747, allocations: 177.1 MB / 205.5 MB, free: 5.445 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.909/1.909, allocations: 389.5 MB / 0.6363 GB, free: 12.26 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.745e-06/2.745e-06, allocations: 1.203 kB / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.282e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002358/0.002391, allocations: 0.8978 MB / 0.777 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.003855, allocations: 1.379 MB / 0.7783 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.003902, allocations: 0 / 0.7783 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.956e-05/0.004002, allocations: 12.69 kB / 0.7784 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.004125, allocations: 37.19 kB / 0.7784 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.00458, allocations: 267.2 kB / 0.7786 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.004815, allocations: 289.5 kB / 0.7789 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.004901, allocations: 29.94 kB / 0.779 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.005118, allocations: 171.7 kB / 0.7791 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.005303, allocations: 119.7 kB / 0.7792 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.005339, allocations: 24 kB / 0.7793 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.00542, allocations: 39.91 kB / 0.7793 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.005474, allocations: 43.83 kB / 0.7793 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.005543, allocations: 87.84 kB / 0.7794 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.005761, allocations: 227.3 kB / 0.7796 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.005766, allocations: 4 kB / 0.7796 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005766, allocations: 0 / 0.7796 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.00577, allocations: 0 / 0.7796 GB, free: 1.754 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.0005264/0.006296, allocations: 438.9 kB / 0.7801 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.006328, allocations: 13.34 kB / 0.7801 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.006444, allocations: 37.45 kB / 0.7801 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.006594, allocations: 153.5 kB / 0.7802 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.006615, allocations: 19.98 kB / 0.7803 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.006642, allocations: 20.38 kB / 0.7803 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.006798, allocations: 143.5 kB / 0.7804 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.006805, allocations: 192 / 0.7804 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.006817, allocations: 4.375 kB / 0.7804 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006821, allocations: 4.375 kB / 0.7804 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.006873, allocations: 46.16 kB / 0.7805 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.007163, allocations: 247.3 kB / 0.7807 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.007263, allocations: 114.5 kB / 0.7808 GB, free: 456 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.007304, allocations: 39.53 kB / 0.7809 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.007314, allocations: 4.188 kB / 0.7809 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.007457, allocations: 159.8 kB / 0.781 GB, free: 240 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.062e-06/0.007458, allocations: 0 / 0.781 GB, free: 240 kB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002275/0.007686, allocations: 193.1 kB / 0.7812 GB, free: 44 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.00773, allocations: 60.69 kB / 0.7813 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.007801, allocations: 144.8 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.007833, allocations: 41.69 kB / 0.7814 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.007878, allocations: 108.7 kB / 0.7815 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.00792, allocations: 68.02 kB / 0.7816 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.008007, allocations: 86.88 kB / 0.7817 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.008092, allocations: 326.8 kB / 0.782 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.008213, allocations: 139.9 kB / 0.7821 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.008337, allocations: 193 kB / 0.7823 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.00852, allocations: 249.9 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008522, allocations: 0.6562 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002966/0.008819, allocations: 386.7 kB / 0.7829 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.008857, allocations: 69.11 kB / 0.783 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.008864, allocations: 4 kB / 0.783 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.008871, allocations: 0 / 0.783 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.008998, allocations: 55.91 kB / 0.783 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.009002, allocations: 5.062 kB / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.009139, allocations: 64.92 kB / 0.7831 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.009167, allocations: 19.92 kB / 0.7831 GB, free: 13.89 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 9.929e-05/0.009266, allocations: 158 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.009292, allocations: 27.91 kB / 0.7833 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.009314, allocations: 14.84 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009317, allocations: 0 / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009318, allocations: 0.5625 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.009323, allocations: 4 kB / 0.7833 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.00957, allocations: 361 kB / 0.7837 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.009572, allocations: 3.938 kB / 0.7837 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.009597, allocations: 11.92 kB / 0.7837 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.0096, allocations: 4 kB / 0.7837 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.009613, allocations: 9.109 kB / 0.7837 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009614, allocations: 0 / 0.7837 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.009615, allocations: 4 kB / 0.7837 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.009786, allocations: 295.8 kB / 0.784 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.009799, allocations: 19.78 kB / 0.784 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.00983, allocations: 15.98 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.009884, allocations: 12.98 kB / 0.784 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.009914, allocations: 11.97 kB / 0.784 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.009932, allocations: 15.98 kB / 0.7841 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.926e-05/0.009951, allocations: 25.45 kB / 0.7841 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.009951, allocations: 4.781 kB / 0.7841 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001883/0.01014, allocations: 67.94 kB / 0.7842 GB, free: 12.81 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.0001207/0.01026, allocations: 116.2 kB / 0.7843 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.01054, allocations: 364.9 kB / 0.7846 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01055, allocations: 0 / 0.7846 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.077e-05/0.01062, allocations: 73.22 kB / 0.7847 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.0108, allocations: 44.53 kB / 0.7847 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.01127, allocations: 292.3 kB / 0.785 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.01131, allocations: 77.22 kB / 0.7851 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.467e-05/0.01136, allocations: 19.56 kB / 0.7851 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.01148, allocations: 99.33 kB / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01148, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.00524/0.01672, allocations: 4.075 MB / 0.7892 GB, free: 7.777 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.003035072237253]