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.002023/0.002023, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002266/0.002266, allocations: 173.6 kB / 23.24 MB, free: 1.324 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 1.676/1.676, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] 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 3.272/3.272, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] 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.355e-06/2.355e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.066e-05, allocations: 5.797 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002062/0.002093, allocations: 0.8266 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.004237, allocations: 1.345 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.004301, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.004409, allocations: 19.69 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.004557, allocations: 35.77 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.005302, allocations: 273 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.005696, allocations: 291.3 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.005803, allocations: 17.3 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.006135, allocations: 175.8 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.006382, allocations: 107.7 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.006449, allocations: 24 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.006584, allocations: 47.91 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.006681, allocations: 39.89 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.006824, allocations: 91.8 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.007276, allocations: 307.2 kB / 1.005 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007279, allocations: 0 / 1.005 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.273e-06/0.007281, allocations: 3.938 kB / 1.005 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.007286, allocations: 0 / 1.005 GB, free: 9.438 MB / 0.9636 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.001154/0.00844, allocations: 473.5 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.008498, allocations: 9.344 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.008688, allocations: 36.81 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.008987, allocations: 181.4 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.009022, allocations: 16.36 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.009074, allocations: 20.38 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.00948, allocations: 178.8 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.00949, allocations: 192 / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.009515, allocations: 8.375 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.009522, allocations: 4.375 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.009746, allocations: 88.11 kB / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.01037, allocations: 356.6 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.01066, allocations: 122.6 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.01084, allocations: 80.75 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.01086, allocations: 7.938 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.01126, allocations: 215.9 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.01126, allocations: 0 / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.0009841/0.01225, allocations: 459.5 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.01231, allocations: 59.41 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.01247, allocations: 148.1 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.01253, allocations: 49.69 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.01262, allocations: 96.73 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.0127, allocations: 67.58 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.01287, allocations: 93.91 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.01305, allocations: 330.8 kB / 1.008 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.01342, allocations: 208.1 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.01385, allocations: 269 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.01447, allocations: 362.8 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.01447, allocations: 0 / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001016/0.01549, allocations: 0.5618 MB / 1.009 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.01556, allocations: 67.39 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01557, allocations: 0 / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01558, allocations: 8.125 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.01582, allocations: 55.91 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.01583, allocations: 4 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.01621, allocations: 71.72 kB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.01628, allocations: 23.98 kB / 1.009 GB, free: 4.492 MB / 0.9636 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.0001977/0.01648, allocations: 169.8 kB / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.01651, allocations: 15.91 kB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.01656, allocations: 17.97 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.01656, allocations: 7.984 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.01657, allocations: 4 kB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01657, allocations: 0 / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.0175, allocations: 0.5915 MB / 1.01 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.0175, allocations: 0 / 1.01 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.01755, allocations: 7.984 kB / 1.01 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01755, allocations: 4 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.01758, allocations: 7.984 kB / 1.01 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01758, allocations: 4 kB / 1.01 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01758, allocations: 3.938 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.01832, allocations: 475.8 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.01835, allocations: 15.89 kB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.0184, allocations: 15.98 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.01851, allocations: 4 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.01858, allocations: 19.97 kB / 1.01 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.01862, allocations: 23.97 kB / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.0187, allocations: 101.9 kB / 1.011 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.0187, allocations: 4 kB / 1.011 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003406/0.01904, allocations: 60 kB / 1.011 GB, free: 2.898 MB / 0.9636 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.0002412/0.01928, allocations: 141.1 kB / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.02009, allocations: 476.1 kB / 1.011 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02009, allocations: 256 / 1.011 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.02032, allocations: 103.9 kB / 1.011 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.02068, allocations: 39.84 kB / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.02134, allocations: 306.8 kB / 1.012 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.02158, allocations: 106.6 kB / 1.012 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.739e-05/0.02166, allocations: 25.8 kB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.02171, allocations: 16.5 kB / 1.012 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.02171, allocations: 0 / 1.012 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of Templates: time 0.008528/0.03024, allocations: 3.846 MB / 1.016 GB, free: 13.83 MB / 0.9792 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: 9.317426175810397]