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.0009096/0.0009096, allocations: 84.81 kB / 21.55 MB, free: 2.953 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.0009363/0.0009363, allocations: 165.7 kB / 24.96 MB, free: 8.227 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.8929/0.8929, allocations: 177.1 MB / 205.4 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.864/1.864, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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 1.302e-06/1.302e-06, allocations: 0 / 0.7759 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.394e-05, allocations: 6.781 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001356/0.00137, allocations: 0.9124 MB / 0.7768 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.002723, allocations: 1.373 MB / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.002774, allocations: 0 / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.002878, allocations: 18.33 kB / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.002994, allocations: 32.66 kB / 0.7782 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.003496, allocations: 274.8 kB / 0.7785 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.003738, allocations: 286 kB / 0.7788 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.003816, allocations: 25.94 kB / 0.7788 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.004024, allocations: 184.5 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.00419, allocations: 103.8 kB / 0.7791 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.004223, allocations: 25.19 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.727e-05/0.0043, allocations: 43.97 kB / 0.7791 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.004351, allocations: 43.83 kB / 0.7792 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.00442, allocations: 83.86 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.00463, allocations: 232.5 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004632, allocations: 0 / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.7e-07/0.004632, allocations: 0 / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.294e-06/0.004635, allocations: 0.9375 kB / 0.7795 GB, free: 1.766 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.0005263/0.005161, allocations: 443.7 kB / 0.7799 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.005193, allocations: 13.34 kB / 0.7799 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.00531, allocations: 41.56 kB / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.005462, allocations: 145.6 kB / 0.7801 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.005482, allocations: 18.03 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.005507, allocations: 20.36 kB / 0.7801 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.00566, allocations: 147.5 kB / 0.7803 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.005667, allocations: 192 / 0.7803 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.00568, allocations: 9.422 kB / 0.7803 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005685, allocations: 384 / 0.7803 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.005733, allocations: 46.11 kB / 0.7803 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.006028, allocations: 251.9 kB / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.006116, allocations: 118.1 kB / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.006154, allocations: 36.83 kB / 0.7807 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.006169, allocations: 8.188 kB / 0.7807 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.006309, allocations: 159.8 kB / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.243e-06/0.00631, allocations: 0 / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002219/0.006532, allocations: 193 kB / 0.7811 GB, free: 44 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.006571, allocations: 59.39 kB / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.00664, allocations: 141.4 kB / 0.7812 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.006671, allocations: 44.45 kB / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.006714, allocations: 100.7 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.006765, allocations: 75.47 kB / 0.7815 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.006847, allocations: 77.97 kB / 0.7815 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.006922, allocations: 338.8 kB / 0.7819 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.007033, allocations: 131 kB / 0.782 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.007159, allocations: 185 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.007349, allocations: 251.4 kB / 0.7824 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007351, allocations: 0 / 0.7824 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002927/0.007644, allocations: 374 kB / 0.7828 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.007678, allocations: 72.61 kB / 0.7828 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007684, allocations: 0 / 0.7828 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.007695, allocations: 4 kB / 0.7828 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.007817, allocations: 52.75 kB / 0.7829 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007824, allocations: 7.938 kB / 0.7829 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.007954, allocations: 64.8 kB / 0.7829 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.00798, allocations: 16.52 kB / 0.783 GB, free: 13.92 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.0001039/0.008084, allocations: 158 kB / 0.7831 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.00811, allocations: 28.88 kB / 0.7831 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.008135, allocations: 17.95 kB / 0.7832 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.008137, allocations: 4 kB / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.00814, allocations: 1.438 kB / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008143, allocations: 0 / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.008388, allocations: 367.1 kB / 0.7835 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.00839, allocations: 4.594 kB / 0.7835 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.008412, allocations: 7.984 kB / 0.7835 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.008415, allocations: 5.188 kB / 0.7835 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.008427, allocations: 7.984 kB / 0.7835 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008428, allocations: 0 / 0.7835 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008429, allocations: 0.5 kB / 0.7835 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.008594, allocations: 298 kB / 0.7838 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.008607, allocations: 20.66 kB / 0.7838 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.008639, allocations: 19.98 kB / 0.7839 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.008691, allocations: 4.859 kB / 0.7839 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.008722, allocations: 19.97 kB / 0.7839 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.008738, allocations: 16.48 kB / 0.7839 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.189e-05/0.00876, allocations: 28.83 kB / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00876, allocations: 0.75 kB / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001859/0.008946, allocations: 71.88 kB / 0.784 GB, free: 12.82 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.0001033/0.009049, allocations: 108 kB / 0.7841 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.009339, allocations: 361.7 kB / 0.7844 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.009342, allocations: 0.8438 kB / 0.7844 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.009409, allocations: 75.38 kB / 0.7845 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.009578, allocations: 44.28 kB / 0.7846 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.01003, allocations: 301.4 kB / 0.7848 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.01007, allocations: 72.19 kB / 0.7849 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.01011, allocations: 18.36 kB / 0.7849 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.01023, allocations: 96.02 kB / 0.785 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01023, allocations: 1.031 kB / 0.785 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.004789/0.01502, allocations: 4.069 MB / 0.789 GB, free: 7.809 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: 4.905387966893613]