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.001258/0.001258, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.00153/0.00153, allocations: 165.8 kB / 24.97 MB, free: 9.184 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.9535/0.9535, allocations: 177.1 MB / 205.4 MB, free: 5.5 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.931/1.931, 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 2.325e-06/2.325e-06, allocations: 0 / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.859e-05, allocations: 4.844 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002545/0.002573, allocations: 0.9084 MB / 0.7769 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.004922, allocations: 1.377 MB / 0.7782 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.005009, allocations: 4.875 kB / 0.7782 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.005117, allocations: 11.81 kB / 0.7782 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.005285, allocations: 29.3 kB / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.006081, allocations: 272.4 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.006497, allocations: 299.8 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.006611, allocations: 21.94 kB / 0.7788 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.006978, allocations: 171.7 kB / 0.779 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.007266, allocations: 119.7 kB / 0.7791 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.007322, allocations: 20 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.007453, allocations: 43.08 kB / 0.7791 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.007532, allocations: 43.89 kB / 0.7792 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.007648, allocations: 87.78 kB / 0.7793 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.007997, allocations: 227.3 kB / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.008, allocations: 0 / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/0.008002, allocations: 0 / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.008008, allocations: 0 / 0.7795 GB, free: 1.789 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.0007626/0.00877, allocations: 450.9 kB / 0.7799 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.008813, allocations: 9.906 kB / 0.7799 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.00901, allocations: 37.42 kB / 0.78 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.009251, allocations: 149.1 kB / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.009281, allocations: 16.36 kB / 0.7801 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.009308, allocations: 16.38 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.009526, allocations: 143.5 kB / 0.7803 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.009538, allocations: 8.156 kB / 0.7803 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.00955, allocations: 4.375 kB / 0.7803 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.009559, allocations: 4.375 kB / 0.7803 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.009619, allocations: 45.69 kB / 0.7803 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.00998, allocations: 251.3 kB / 0.7806 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.01009, allocations: 121.6 kB / 0.7807 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.01013, allocations: 32.84 kB / 0.7807 GB, free: 444 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.01014, allocations: 4.188 kB / 0.7807 GB, free: 440 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.0103, allocations: 163.8 kB / 0.7809 GB, free: 264 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.01031, allocations: 0 / 0.7809 GB, free: 264 kB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002427/0.01055, allocations: 189.8 kB / 0.7811 GB, free: 72 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.0106, allocations: 63.97 kB / 0.7811 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.01068, allocations: 141 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.01071, allocations: 46.22 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.01076, allocations: 97.42 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.01081, allocations: 71.53 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01091, allocations: 78.84 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.01102, allocations: 342.8 kB / 0.7819 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.01117, allocations: 127.5 kB / 0.782 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.01132, allocations: 185 kB / 0.7822 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.01154, allocations: 250.2 kB / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01154, allocations: 0.6875 kB / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003677/0.01191, allocations: 382.9 kB / 0.7828 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.01196, allocations: 73.08 kB / 0.7828 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.01197, allocations: 0 / 0.7828 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01199, allocations: 4 kB / 0.7828 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.01215, allocations: 51.91 kB / 0.7829 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.01216, allocations: 7.938 kB / 0.7829 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.01231, allocations: 61.39 kB / 0.783 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.01234, allocations: 15.98 kB / 0.783 GB, free: 13.95 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.0001284/0.01247, allocations: 158.3 kB / 0.7831 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.0125, allocations: 23.91 kB / 0.7831 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.01252, allocations: 14.53 kB / 0.7832 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01253, allocations: 8.859 kB / 0.7832 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01253, allocations: 0 / 0.7832 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.01255, allocations: 24.86 kB / 0.7832 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.01258, allocations: 15.98 kB / 0.7832 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.01262, allocations: 0 / 0.7832 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.01266, allocations: 21.44 kB / 0.7832 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001779/0.01284, allocations: 249.5 kB / 0.7835 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002196/0.01306, allocations: 377.2 kB / 0.7838 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.438e-05/0.01313, allocations: 58.02 kB / 0.7839 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.01316, allocations: 28.16 kB / 0.7839 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of Backend: time 3.61e-07/0.01316, allocations: 0 / 0.7839 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.01364, allocations: 401.8 kB / 0.7843 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0009335/0.01458, allocations: 0.8436 MB / 0.7851 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.006107/0.02068, allocations: 4.354 MB / 0.7894 GB, free: 7.492 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.141087542288005]