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.0009813/0.0009813, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001768/0.001768, allocations: 171.3 kB / 24.84 MB, free: 8.703 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.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6441/0.6441, allocations: 115 MB / 376.8 MB, free: 7.477 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 2.525e-06/2.525e-06, allocations: 0 / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.822e-05, allocations: 2.969 kB / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002676/0.002705, allocations: 0.8417 MB / 483.6 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.004878, allocations: 1.372 MB / 484.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.004981, allocations: 5.906 kB / 485 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.005108, allocations: 8.625 kB / 485 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.005293, allocations: 40.25 kB / 485 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.006156, allocations: 269.9 kB / 485.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.006589, allocations: 289.7 kB / 485.5 MB, free: 9.969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.006716, allocations: 22.38 kB / 485.6 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.007103, allocations: 170 kB / 485.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.007438, allocations: 113.5 kB / 485.8 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.007515, allocations: 26.09 kB / 485.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.007644, allocations: 49.95 kB / 485.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.007723, allocations: 37.72 kB / 486 MB, free: 9.824 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.007847, allocations: 78.83 kB / 486 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.008212, allocations: 233.9 kB / 486.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.008215, allocations: 1.188 kB / 486.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.008216, allocations: 1.406 kB / 486.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.008223, allocations: 0 / 486.3 MB, free: 9.688 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.000783/0.009006, allocations: 0.5605 MB / 486.8 MB, free: 9.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.009043, allocations: 10.06 kB / 486.8 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.009195, allocations: 43.09 kB / 486.9 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.009362, allocations: 173.2 kB / 487 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.009387, allocations: 21.22 kB / 487.1 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.009419, allocations: 23.03 kB / 487.1 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.009596, allocations: 142.5 kB / 487.2 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.009604, allocations: 192 / 487.2 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.009618, allocations: 7.062 kB / 487.2 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.009623, allocations: 2.844 kB / 487.2 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.009685, allocations: 43.64 kB / 487.3 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.01002, allocations: 385.7 kB / 487.7 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.01012, allocations: 81.31 kB / 487.7 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.01018, allocations: 39 kB / 487.8 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.01019, allocations: 6.938 kB / 487.8 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.01035, allocations: 175.6 kB / 488 MB, free: 8.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.01036, allocations: 0 / 488 MB, free: 8.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.000439/0.01079, allocations: 344.6 kB / 488.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.01082, allocations: 59.22 kB / 488.3 MB, free: 8.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.01105, allocations: 193.8 kB / 488.5 MB, free: 24.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.01109, allocations: 43.28 kB / 488.6 MB, free: 24.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.01114, allocations: 149.5 kB / 488.7 MB, free: 24.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.01119, allocations: 78.17 kB / 488.8 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.01129, allocations: 98 kB / 488.9 MB, free: 23.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.01141, allocations: 0.5005 MB / 489.4 MB, free: 23.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.01153, allocations: 140.1 kB / 489.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.01166, allocations: 215.4 kB / 489.7 MB, free: 23.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.01185, allocations: 262.2 kB / 490 MB, free: 22.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01185, allocations: 1.375 kB / 490 MB, free: 22.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003976/0.01225, allocations: 462.3 kB / 490.5 MB, free: 22.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.01228, allocations: 69.75 kB / 490.5 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.01229, allocations: 3.656 kB / 490.5 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.0123, allocations: 2.812 kB / 490.5 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.01243, allocations: 47.81 kB / 490.6 MB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01244, allocations: 8.484 kB / 490.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.01259, allocations: 60.58 kB / 490.6 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.01262, allocations: 16.02 kB / 490.7 MB, free: 22.64 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.00012/0.01274, allocations: 206.4 kB / 490.9 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.01277, allocations: 30.78 kB / 490.9 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.01279, allocations: 16.28 kB / 490.9 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.0128, allocations: 2.75 kB / 490.9 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.0128, allocations: 1.219 kB / 490.9 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.0128, allocations: 0.9688 kB / 490.9 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.01322, allocations: 0.5398 MB / 491.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01322, allocations: 4.328 kB / 491.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.01324, allocations: 5.156 kB / 491.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01325, allocations: 4 kB / 491.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01326, allocations: 12.23 kB / 491.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01326, allocations: 1.438 kB / 491.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01326, allocations: 1.656 kB / 491.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.01359, allocations: 451.1 kB / 491.9 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.01361, allocations: 16.81 kB / 491.9 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.01364, allocations: 16.77 kB / 492 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.01369, allocations: 7.531 kB / 492 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.01372, allocations: 15.33 kB / 492 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.01374, allocations: 20.27 kB / 492 MB, free: 21.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.01379, allocations: 136.4 kB / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 0 / 492.1 MB, free: 21.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01402, allocations: 74.28 kB / 492.2 MB, free: 21.69 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.000146/0.01417, allocations: 133.9 kB / 492.3 MB, free: 21.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.0145, allocations: 392.1 kB / 492.7 MB, free: 21.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0145, allocations: 0.625 kB / 492.7 MB, free: 21.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.01459, allocations: 77.09 kB / 492.8 MB, free: 21.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01483, allocations: 45.09 kB / 492.8 MB, free: 21.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.01534, allocations: 282.9 kB / 493.1 MB, free: 21.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01539, allocations: 75.83 kB / 493.2 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.619e-05/0.01543, allocations: 19.48 kB / 493.2 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.01557, allocations: 120.8 kB / 493.3 MB, free: 21 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01557, allocations: 0 / 493.3 MB, free: 21 MB / 426.7 MB Notification: Performance of Templates: time 0.005902/0.02147, allocations: 4.217 MB / 497.5 MB, free: 20.6 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: 3.585706328973174]