Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000848/0.000848, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001878, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006719/0.0006719, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008808/0.001553, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8802/0.8802, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.076/0.9562, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6268/0.6268, allocations: 120.1 MB / 364.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05796/0.6848, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.163e-05, allocations: 14.19 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002125/0.002146, allocations: 0.8999 MB / 404.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003703, allocations: 1.368 MB / 406 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.003757, allocations: 0 / 406 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.432e-05/0.003821, allocations: 15.8 kB / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.003922, allocations: 31.72 kB / 406 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.004482, allocations: 275.2 kB / 406.3 MB, free: 8.375 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.004801, allocations: 279.4 kB / 406.6 MB, free: 8.102 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.004895, allocations: 25.94 kB / 406.6 MB, free: 8.078 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.005166, allocations: 179.7 kB / 406.8 MB, free: 7.902 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.005383, allocations: 111.8 kB / 406.9 MB, free: 7.793 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.005429, allocations: 24 kB / 406.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.005541, allocations: 39.98 kB / 406.9 MB, free: 7.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.005607, allocations: 39.84 kB / 407 MB, free: 7.691 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.413e-05/0.005691, allocations: 51.94 kB / 407 MB, free: 7.641 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.005961, allocations: 195.4 kB / 407.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.00597, allocations: 0 / 407.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005971, allocations: 0 / 407.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.005982, allocations: 0 / 407.2 MB, free: 7.449 MB / 394.7 MB 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.0007365/0.006718, allocations: 482.5 kB / 407.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.006748, allocations: 8.031 kB / 407.7 MB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.00693, allocations: 118 kB / 407.8 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.007133, allocations: 149.6 kB / 407.9 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.00716, allocations: 16.36 kB / 408 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.007205, allocations: 16.38 kB / 408 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.007427, allocations: 147.5 kB / 408.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007436, allocations: 4.172 kB / 408.1 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.007454, allocations: 8.312 kB / 408.1 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007462, allocations: 4.375 kB / 408.1 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.007534, allocations: 40.14 kB / 408.2 MB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.007922, allocations: 243.1 kB / 408.4 MB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.008054, allocations: 122.4 kB / 408.5 MB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.008112, allocations: 36.78 kB / 408.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.008125, allocations: 4.188 kB / 408.6 MB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.008326, allocations: 158.7 kB / 408.7 MB, free: 5.785 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.008327, allocations: 0 / 408.7 MB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002993/0.008627, allocations: 196.3 kB / 408.9 MB, free: 5.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.008655, allocations: 59.34 kB / 409 MB, free: 5.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.008723, allocations: 146.5 kB / 409.1 MB, free: 5.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.008758, allocations: 41.69 kB / 409.2 MB, free: 5.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.0088, allocations: 100.7 kB / 409.3 MB, free: 5.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.008844, allocations: 67.48 kB / 409.3 MB, free: 5.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.008925, allocations: 81.95 kB / 409.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.008996, allocations: 330.8 kB / 409.7 MB, free: 4.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.009103, allocations: 135 kB / 409.9 MB, free: 4.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.00922, allocations: 189 kB / 410 MB, free: 4.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.009405, allocations: 259.8 kB / 410.3 MB, free: 4.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.009407, allocations: 0 / 410.3 MB, free: 4.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002761/0.009683, allocations: 381.5 kB / 410.7 MB, free: 3.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.009724, allocations: 71.52 kB / 410.7 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.009732, allocations: 0 / 410.7 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.009744, allocations: 4 kB / 410.7 MB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.009878, allocations: 59.91 kB / 410.8 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.009883, allocations: 4 kB / 410.8 MB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.01001, allocations: 55.8 kB / 410.9 MB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.01004, allocations: 23.92 kB / 410.9 MB, free: 3.438 MB / 394.7 MB 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 9.53e-05/0.01013, allocations: 164.6 kB / 411 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.01016, allocations: 27.91 kB / 411.1 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.01018, allocations: 9.969 kB / 411.1 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01018, allocations: 4 kB / 411.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01018, allocations: 0 / 411.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01018, allocations: 0 / 411.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.01043, allocations: 366.5 kB / 411.4 MB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01043, allocations: 3.938 kB / 411.4 MB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.01045, allocations: 11.92 kB / 411.5 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.01046, allocations: 15.91 kB / 411.5 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01046, allocations: 4 kB / 411.5 MB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01048, allocations: 7.984 kB / 411.5 MB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01048, allocations: 4 kB / 411.5 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01048, allocations: 0 / 411.5 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.01064, allocations: 297.9 kB / 411.8 MB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.01067, allocations: 15.98 kB / 411.8 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.01072, allocations: 7.984 kB / 411.8 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.01075, allocations: 15.97 kB / 411.8 MB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.01077, allocations: 19.92 kB / 411.8 MB, free: 2.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.01079, allocations: 20.84 kB / 411.9 MB, free: 2.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 4 kB / 411.9 MB, free: 2.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.01097, allocations: 79.86 kB / 411.9 MB, free: 2.324 MB / 394.7 MB 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.0001115/0.01108, allocations: 114.3 kB / 412.1 MB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.01135, allocations: 372.7 kB / 412.4 MB, free: 1.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.01135, allocations: 4 kB / 412.4 MB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.01142, allocations: 76.61 kB / 412.5 MB, free: 1.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01165, allocations: 256 kB / 412.7 MB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.01237, allocations: 307.4 kB / 413 MB, free: 1.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.502e-05/0.01241, allocations: 72.33 kB / 413.1 MB, free: 1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.869e-05/0.01245, allocations: 21.62 kB / 413.1 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.01256, allocations: 95.34 kB / 413.2 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01256, allocations: 0 / 413.2 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of Templates: time 0.004705/0.01727, allocations: 4.13 MB / 417.4 MB, free: 12.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.015072064474225]