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.00103/0.00103, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001121/0.001121, allocations: 173 kB / 24.14 MB, free: 360 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 1.096/1.096, allocations: 177.2 MB / 204.6 MB, free: 5.301 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.6566/0.6566, allocations: 115 MB / 376 MB, free: 7.406 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.743e-06/1.743e-06, allocations: 0 / 428.7 MB, free: 2.777 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.343e-05, allocations: 6.25 kB / 428.7 MB, free: 2.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002197/0.00222, allocations: 0.8883 MB / 429.6 MB, free: 1.879 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.004287, allocations: 1.38 MB / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.004363, allocations: 0 / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.004476, allocations: 15.8 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.004642, allocations: 35.77 kB / 431.1 MB, free: 444 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000759/0.005401, allocations: 271.2 kB / 431.3 MB, free: 172 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.005829, allocations: 283.5 kB / 431.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.005946, allocations: 29.86 kB / 431.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.006289, allocations: 179.7 kB / 431.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.006561, allocations: 107.8 kB / 431.9 MB, free: 15.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.006619, allocations: 24 kB / 431.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.006738, allocations: 35.98 kB / 432 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.006815, allocations: 47.83 kB / 432 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.006925, allocations: 83.84 kB / 432.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.007264, allocations: 235.3 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.007266, allocations: 0 / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.007267, allocations: 0 / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.007272, allocations: 4 kB / 432.3 MB, free: 15.16 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.0007533/0.008025, allocations: 442.9 kB / 432.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.008065, allocations: 12.03 kB / 432.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.008255, allocations: 40.89 kB / 432.8 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.008496, allocations: 149.5 kB / 433 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.008528, allocations: 16.36 kB / 433 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.008572, allocations: 20.38 kB / 433 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.008824, allocations: 143.5 kB / 433.1 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.008833, allocations: 192 / 433.1 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.008856, allocations: 20.3 kB / 433.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.008863, allocations: 384 / 433.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.653e-05/0.008949, allocations: 36.16 kB / 433.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.009418, allocations: 255.1 kB / 433.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.009576, allocations: 110.4 kB / 433.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.009653, allocations: 48.77 kB / 433.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.009667, allocations: 4.188 kB / 433.6 MB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.009912, allocations: 154.7 kB / 433.8 MB, free: 13.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/0.009914, allocations: 0 / 433.8 MB, free: 13.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004033/0.01032, allocations: 195.7 kB / 433.9 MB, free: 13.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.01037, allocations: 63.33 kB / 434 MB, free: 13.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.01049, allocations: 146.3 kB / 434.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.01054, allocations: 37.7 kB / 434.2 MB, free: 13.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.01061, allocations: 104.7 kB / 434.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.01068, allocations: 67.48 kB / 434.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.01085, allocations: 81.95 kB / 434.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01098, allocations: 334.8 kB / 434.8 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.01117, allocations: 131 kB / 434.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.01138, allocations: 185 kB / 435.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.01169, allocations: 255.9 kB / 435.3 MB, free: 11.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.0117, allocations: 0 / 435.3 MB, free: 11.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00051/0.01221, allocations: 369.5 kB / 435.7 MB, free: 11.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.01226, allocations: 71.39 kB / 435.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.01227, allocations: 0 / 435.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01229, allocations: 4 kB / 435.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01244, allocations: 60.03 kB / 435.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01244, allocations: 4 kB / 435.8 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.01258, allocations: 59.73 kB / 435.9 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.01262, allocations: 19.98 kB / 435.9 MB, free: 11.29 MB / 410.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.0001074/0.01272, allocations: 156.6 kB / 436 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.01275, allocations: 35.91 kB / 436.1 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.01278, allocations: 9.969 kB / 436.1 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01278, allocations: 4 kB / 436.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01278, allocations: 4 kB / 436.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01279, allocations: 0 / 436.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.01307, allocations: 363.2 kB / 436.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01307, allocations: 3.938 kB / 436.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.0131, allocations: 11.92 kB / 436.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.0131, allocations: 0 / 436.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.01311, allocations: 11.98 kB / 436.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01311, allocations: 3.984 kB / 436.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01312, allocations: 4 kB / 436.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.01331, allocations: 302 kB / 436.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.01332, allocations: 15.84 kB / 436.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.01335, allocations: 15.98 kB / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.01341, allocations: 3.984 kB / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.01344, allocations: 19.97 kB / 436.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.01346, allocations: 19.92 kB / 436.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.079e-05/0.01348, allocations: 20.84 kB / 436.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01348, allocations: 0 / 436.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.01368, allocations: 71.92 kB / 437 MB, free: 10.18 MB / 410.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.0001147/0.0138, allocations: 114.3 kB / 437.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.01409, allocations: 356.2 kB / 437.4 MB, free: 9.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01409, allocations: 4 kB / 437.4 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.01417, allocations: 68.73 kB / 437.5 MB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01436, allocations: 51.72 kB / 437.5 MB, free: 9.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.01483, allocations: 295.5 kB / 437.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.01487, allocations: 72.33 kB / 437.9 MB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.01491, allocations: 21.72 kB / 437.9 MB, free: 9.125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.01504, allocations: 99.33 kB / 438 MB, free: 9.027 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01504, allocations: 7.938 kB / 438 MB, free: 9.02 MB / 410.7 MB Notification: Performance of Templates: time 0.005419/0.02046, allocations: 4.048 MB / 442.1 MB, free: 4.988 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5714374259114265]