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.0009233/0.0009233, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.0009838/0.0009838, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.8963/0.8963, allocations: 177.1 MB / 205.6 MB, free: 5.402 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.865/1.865, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.072e-06/1.072e-06, allocations: 0 / 0.7755 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.063e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001336/0.001347, allocations: 0.8991 MB / 0.7764 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.002695, allocations: 1.366 MB / 0.7777 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.002743, allocations: 3.938 kB / 0.7777 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.94e-05/0.002833, allocations: 11.86 kB / 0.7777 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.003, allocations: 38.47 kB / 0.7778 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.003456, allocations: 261.4 kB / 0.778 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.003688, allocations: 301.2 kB / 0.7783 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.003761, allocations: 30.61 kB / 0.7783 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.00396, allocations: 169.3 kB / 0.7785 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.004115, allocations: 115.7 kB / 0.7786 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.004148, allocations: 20 kB / 0.7786 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.00422, allocations: 47.92 kB / 0.7787 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.004268, allocations: 41.61 kB / 0.7787 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.004338, allocations: 83.84 kB / 0.7788 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.004544, allocations: 223.3 kB / 0.779 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004546, allocations: 0 / 0.779 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004546, allocations: 0 / 0.779 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.004549, allocations: 0.8125 kB / 0.779 GB, free: 2.457 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.0004732/0.005023, allocations: 451.4 kB / 0.7794 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.005052, allocations: 10.09 kB / 0.7795 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.005159, allocations: 36.89 kB / 0.7795 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.005305, allocations: 156.1 kB / 0.7796 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.005324, allocations: 16.36 kB / 0.7797 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.005349, allocations: 16.38 kB / 0.7797 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.0055, allocations: 155.5 kB / 0.7798 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005506, allocations: 4.172 kB / 0.7798 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.005516, allocations: 384 / 0.7798 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.005522, allocations: 8.312 kB / 0.7798 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.005569, allocations: 44.5 kB / 0.7799 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.005851, allocations: 247.3 kB / 0.7801 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/0.005941, allocations: 114.4 kB / 0.7802 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.005977, allocations: 36.84 kB / 0.7803 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.005987, allocations: 4.188 kB / 0.7803 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.006122, allocations: 162.3 kB / 0.7804 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.252e-06/0.006124, allocations: 0 / 0.7804 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002266/0.00635, allocations: 197.6 kB / 0.7806 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.006383, allocations: 59.39 kB / 0.7807 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.006449, allocations: 141.3 kB / 0.7808 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.006482, allocations: 45.69 kB / 0.7808 GB, free: 468 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.006522, allocations: 102.4 kB / 0.7809 GB, free: 360 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.006563, allocations: 67.53 kB / 0.781 GB, free: 292 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.006655, allocations: 85.95 kB / 0.7811 GB, free: 196 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.006746, allocations: 330.8 kB / 0.7814 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.006855, allocations: 131 kB / 0.7815 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.00697, allocations: 193.5 kB / 0.7817 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.007153, allocations: 246.2 kB / 0.7819 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.007155, allocations: 1.125 kB / 0.7819 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002876/0.007442, allocations: 394.7 kB / 0.7823 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.007475, allocations: 67.39 kB / 0.7824 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.00748, allocations: 4.719 kB / 0.7824 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.007488, allocations: 4 kB / 0.7824 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.007607, allocations: 56.53 kB / 0.7824 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007612, allocations: 4 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.007741, allocations: 58.06 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.007771, allocations: 19.98 kB / 0.7825 GB, free: 14.59 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.0001014/0.007872, allocations: 161.2 kB / 0.7827 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.007897, allocations: 25.45 kB / 0.7827 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.007918, allocations: 17.95 kB / 0.7827 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.007921, allocations: 4.094 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.007924, allocations: 3.984 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007928, allocations: 0.875 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.008169, allocations: 363.2 kB / 0.7831 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008171, allocations: 4.844 kB / 0.7831 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.008193, allocations: 4 kB / 0.7831 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008194, allocations: 0.9375 kB / 0.7831 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.008208, allocations: 11.97 kB / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.008208, allocations: 0 / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008209, allocations: 0.5312 kB / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.008373, allocations: 298.6 kB / 0.7834 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.008386, allocations: 27.66 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.008417, allocations: 17.33 kB / 0.7834 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.008466, allocations: 4 kB / 0.7834 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.008495, allocations: 19.97 kB / 0.7834 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.008513, allocations: 17.22 kB / 0.7835 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.008534, allocations: 25.61 kB / 0.7835 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008534, allocations: 0 / 0.7835 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001927/0.008727, allocations: 67.95 kB / 0.7836 GB, free: 13.5 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.0001079/0.008835, allocations: 112 kB / 0.7837 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.00913, allocations: 366.8 kB / 0.784 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.009134, allocations: 0 / 0.784 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.009203, allocations: 69.78 kB / 0.7841 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.009368, allocations: 47.39 kB / 0.7841 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.009962, allocations: 331.1 kB / 0.7844 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.01003, allocations: 107.8 kB / 0.7845 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.01016, allocations: 103.3 kB / 0.7846 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01016, allocations: 1.281 kB / 0.7846 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.00311/0.01327, allocations: 3.102 MB / 0.7877 GB, free: 9.316 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 > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.595773625187576]