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.001921/0.001921, allocations: 92.17 kB / 20.21 MB, free: 4.062 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.001964/0.001964, allocations: 161.3 kB / 23.52 MB, free: 0.7539 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.045/1.045, allocations: 115 MB / 375.3 MB, free: 7.586 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.814e-06/1.814e-06, allocations: 0 / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.236e-05, allocations: 3.188 kB / 480.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001628/0.00165, allocations: 0.8386 MB / 481.6 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003032, allocations: 1.349 MB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.003078, allocations: 4.75 kB / 483 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.652e-05/0.003164, allocations: 11.16 kB / 483 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.003271, allocations: 37.58 kB / 483 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.003795, allocations: 271.6 kB / 483.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.004039, allocations: 285.9 kB / 483.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.004119, allocations: 18.97 kB / 483.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.004355, allocations: 181.1 kB / 483.7 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.004536, allocations: 105.7 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.004594, allocations: 23.91 kB / 483.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.004689, allocations: 42.61 kB / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.154e-05/0.00475, allocations: 43.94 kB / 484 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.004849, allocations: 84.05 kB / 484 MB, free: 9.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.005164, allocations: 309.6 kB / 484.3 MB, free: 9.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005167, allocations: 5.938 kB / 484.3 MB, free: 9.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005167, allocations: 0 / 484.3 MB, free: 9.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005172, allocations: 0 / 484.3 MB, free: 9.867 MB / 410.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.0007008/0.005872, allocations: 0.5714 MB / 484.9 MB, free: 9.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.005901, allocations: 10.31 kB / 484.9 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.006085, allocations: 37.56 kB / 485 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.006292, allocations: 172.8 kB / 485.1 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.00632, allocations: 13.5 kB / 485.1 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.006362, allocations: 20.06 kB / 485.2 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.006643, allocations: 177.5 kB / 485.3 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006653, allocations: 192 / 485.3 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.006672, allocations: 5.531 kB / 485.3 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.006677, allocations: 3.312 kB / 485.3 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.006851, allocations: 73.25 kB / 485.4 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.007328, allocations: 421 kB / 485.8 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.007544, allocations: 113 kB / 485.9 MB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.007669, allocations: 72.38 kB / 486 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007686, allocations: 2.656 kB / 486 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.007958, allocations: 204.5 kB / 486.2 MB, free: 8.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.00796, allocations: 1.438 kB / 486.2 MB, free: 8.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007341/0.008694, allocations: 416.6 kB / 486.6 MB, free: 8.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.008721, allocations: 59.72 kB / 486.7 MB, free: 8.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.008953, allocations: 206.9 kB / 486.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.008994, allocations: 44.83 kB / 486.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.00908, allocations: 158.9 kB / 487.1 MB, free: 24.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.009135, allocations: 78.59 kB / 487.2 MB, free: 24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.009275, allocations: 106 kB / 487.3 MB, free: 23.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002637/0.009539, allocations: 0.5134 MB / 487.8 MB, free: 23.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.009813, allocations: 190.9 kB / 488 MB, free: 23.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.01011, allocations: 285.6 kB / 488.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.01049, allocations: 334.7 kB / 488.6 MB, free: 22.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01049, allocations: 3.938 kB / 488.6 MB, free: 22.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007586/0.01125, allocations: 0.5463 MB / 489.1 MB, free: 22.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.01129, allocations: 70.92 kB / 489.2 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.0113, allocations: 1.5 kB / 489.2 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01132, allocations: 3.75 kB / 489.2 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.01152, allocations: 52.06 kB / 489.2 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01153, allocations: 4.344 kB / 489.2 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.01183, allocations: 64.48 kB / 489.3 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.01188, allocations: 23.31 kB / 489.3 MB, free: 22.54 MB / 426.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 0.000172/0.01205, allocations: 212.2 kB / 489.5 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.0121, allocations: 31.47 kB / 489.6 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.01213, allocations: 12 kB / 489.6 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01213, allocations: 3.594 kB / 489.6 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01213, allocations: 0 / 489.6 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01214, allocations: 4.797 kB / 489.6 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/0.01302, allocations: 0.6161 MB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01303, allocations: 1.156 kB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.01306, allocations: 4.625 kB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01307, allocations: 1.125 kB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.01309, allocations: 10.52 kB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01309, allocations: 3.875 kB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01309, allocations: 3.984 kB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.01369, allocations: 0.4913 MB / 490.7 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01371, allocations: 17.47 kB / 490.7 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.01376, allocations: 13.83 kB / 490.8 MB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.01386, allocations: 12.69 kB / 490.8 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.01392, allocations: 14.66 kB / 490.8 MB, free: 21.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.01395, allocations: 24.89 kB / 490.8 MB, free: 21.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.01405, allocations: 148.2 kB / 490.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01405, allocations: 1.25 kB / 490.9 MB, free: 21.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.01437, allocations: 63.61 kB / 491 MB, free: 21.51 MB / 426.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.0001867/0.01455, allocations: 133.1 kB / 491.1 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.01521, allocations: 0.4913 MB / 491.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01521, allocations: 0 / 491.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.01539, allocations: 108.8 kB / 491.7 MB, free: 21.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.01574, allocations: 50.11 kB / 491.8 MB, free: 21.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.01624, allocations: 312.5 kB / 492.1 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.182e-05/0.01632, allocations: 106.5 kB / 492.2 MB, free: 20.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.01638, allocations: 20.78 kB / 492.2 MB, free: 20.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.01643, allocations: 19.19 kB / 492.2 MB, free: 20.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01643, allocations: 0.5 kB / 492.2 MB, free: 20.8 MB / 426.7 MB Notification: Performance of Templates: time 0.007231/0.02366, allocations: 3.853 MB / 496.1 MB, free: 20.47 MB / 426.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: 5.766385699971579]