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.001163/0.001163, allocations: 80.92 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.001314/0.001314, allocations: 161 kB / 24.17 MB, free: 332 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.9989/0.9989, 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.988/1.988, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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 6.142e-06/6.142e-06, allocations: 8.75 kB / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/3.087e-05, allocations: 3.219 kB / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002377/0.002408, allocations: 0.8619 MB / 0.776 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.004346, allocations: 1.378 MB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.00441, allocations: 0 / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.004518, allocations: 11.81 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.004654, allocations: 34.62 kB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007093/0.005363, allocations: 273.6 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.005693, allocations: 290.1 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.00579, allocations: 26.42 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.006062, allocations: 187.3 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.006264, allocations: 107.7 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.006302, allocations: 24 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-05/0.006379, allocations: 39.98 kB / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.006437, allocations: 43.83 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.006513, allocations: 87.84 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.006768, allocations: 231.3 kB / 0.7786 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006771, allocations: 0 / 0.7786 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.853e-06/0.006772, allocations: 7.984 kB / 0.7786 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.006776, allocations: 3.219 kB / 0.7786 GB, free: 1.898 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.0005945/0.00737, allocations: 434.9 kB / 0.7791 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.007403, allocations: 13.34 kB / 0.7791 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.007544, allocations: 32.89 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.00776, allocations: 153.6 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.007785, allocations: 16.36 kB / 0.7793 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.007815, allocations: 20.31 kB / 0.7793 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.008, allocations: 150.7 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.008009, allocations: 192 / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.008022, allocations: 384 / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.008028, allocations: 4.375 kB / 0.7794 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.008078, allocations: 44.94 kB / 0.7795 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.0084, allocations: 247.3 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.008504, allocations: 114.4 kB / 0.7798 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.008545, allocations: 40.78 kB / 0.7799 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.008564, allocations: 11.98 kB / 0.7799 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.008719, allocations: 160.5 kB / 0.78 GB, free: 388 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.008721, allocations: 0 / 0.78 GB, free: 388 kB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002557/0.008977, allocations: 197 kB / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.009015, allocations: 59.34 kB / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.009106, allocations: 137.4 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.009144, allocations: 49.67 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.009189, allocations: 96.73 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.009237, allocations: 71.48 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.009477, allocations: 83.67 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.009563, allocations: 334.8 kB / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.00969, allocations: 131 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.009818, allocations: 185 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.01002, allocations: 242 kB / 0.7815 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.01002, allocations: 7.719 kB / 0.7815 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003241/0.01034, allocations: 382 kB / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.01039, allocations: 67.39 kB / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.01039, allocations: 4 kB / 0.782 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01041, allocations: 4 kB / 0.782 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01055, allocations: 51.91 kB / 0.782 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01056, allocations: 7.938 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.01071, allocations: 62.48 kB / 0.7821 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.01074, allocations: 19.98 kB / 0.7821 GB, free: 14.06 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.0001329/0.01087, allocations: 148.6 kB / 0.7823 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.0109, allocations: 33.16 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.01093, allocations: 9.969 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.01093, allocations: 4 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01094, allocations: 0 / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01094, allocations: 0.5312 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.0112, allocations: 364.1 kB / 0.7826 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01121, allocations: 3.938 kB / 0.7827 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.01124, allocations: 12.8 kB / 0.7827 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01124, allocations: 0 / 0.7827 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.01125, allocations: 7.984 kB / 0.7827 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.01125, allocations: 5.438 kB / 0.7827 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01125, allocations: 0 / 0.7827 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.01143, allocations: 292.8 kB / 0.783 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.01145, allocations: 23.83 kB / 0.783 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.01149, allocations: 20.67 kB / 0.783 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.01154, allocations: 8.672 kB / 0.783 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.01158, allocations: 19.95 kB / 0.783 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.0116, allocations: 17.17 kB / 0.783 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.01162, allocations: 24.84 kB / 0.7831 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01162, allocations: 0 / 0.7831 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002107/0.01183, allocations: 76.31 kB / 0.7831 GB, free: 12.97 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.000146/0.01198, allocations: 112.1 kB / 0.7832 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.0123, allocations: 360.7 kB / 0.7836 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.01231, allocations: 1.688 kB / 0.7836 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.01238, allocations: 64.75 kB / 0.7837 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.0126, allocations: 53.09 kB / 0.7837 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.01316, allocations: 292.4 kB / 0.784 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.01321, allocations: 76.19 kB / 0.7841 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.01326, allocations: 19.42 kB / 0.7841 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.0134, allocations: 103.9 kB / 0.7842 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.0134, allocations: 0 / 0.7842 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.005727/0.01912, allocations: 4.062 MB / 0.7881 GB, free: 7.961 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.2412968701682985]