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.0009545/0.0009545, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001011/0.001011, allocations: 165 kB / 23.8 MB, free: 0.7695 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.8981/0.8981, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6094/0.6094, allocations: 115 MB / 375.7 MB, free: 7.66 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.114e-06/2.114e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.622e-05, allocations: 5.531 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001827/0.001853, allocations: 0.8535 MB / 482.3 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.003701, allocations: 1.375 MB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003773, allocations: 6.219 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.003902, allocations: 7.875 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.004071, allocations: 40 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.004801, allocations: 263.8 kB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.005138, allocations: 291.6 kB / 484.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005258, allocations: 21.08 kB / 484.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.005591, allocations: 174 kB / 484.5 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.005832, allocations: 116.2 kB / 484.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.005891, allocations: 23.03 kB / 484.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.005999, allocations: 49.11 kB / 484.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.006074, allocations: 38.66 kB / 484.7 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.00619, allocations: 83.3 kB / 484.8 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.006517, allocations: 222.6 kB / 485 MB, free: 9.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.00652, allocations: 2.312 kB / 485 MB, free: 9.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.006522, allocations: 1.344 kB / 485 MB, free: 9.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.006527, allocations: 0 / 485 MB, free: 9.855 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.0007911/0.007319, allocations: 0.5678 MB / 485.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.007359, allocations: 8.781 kB / 485.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.007582, allocations: 41.02 kB / 485.7 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.007814, allocations: 185.8 kB / 485.8 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.007844, allocations: 8.594 kB / 485.8 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.007894, allocations: 23.97 kB / 485.9 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.008204, allocations: 161.5 kB / 486 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.008213, allocations: 2.062 kB / 486 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.008236, allocations: 7.859 kB / 486 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.008245, allocations: 384 / 486 MB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.008371, allocations: 53.36 kB / 486.1 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.008901, allocations: 407.2 kB / 486.5 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.009085, allocations: 96.75 kB / 486.6 MB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.009189, allocations: 52.59 kB / 486.6 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.009203, allocations: 4.312 kB / 486.6 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.009476, allocations: 176.4 kB / 486.8 MB, free: 8.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.009478, allocations: 0 / 486.8 MB, free: 8.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007333/0.01021, allocations: 373.2 kB / 487.2 MB, free: 8.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.01025, allocations: 55.12 kB / 487.2 MB, free: 8.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.01035, allocations: 200.4 kB / 487.4 MB, free: 8.289 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.0104, allocations: 44.83 kB / 487.5 MB, free: 8.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.01045, allocations: 154.7 kB / 487.6 MB, free: 8.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.01052, allocations: 74.39 kB / 487.7 MB, free: 8.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.01066, allocations: 93.38 kB / 487.8 MB, free: 8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002674/0.01093, allocations: 0.5014 MB / 488.3 MB, free: 23.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.01118, allocations: 151.8 kB / 488.4 MB, free: 23.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.01146, allocations: 238.8 kB / 488.7 MB, free: 23.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.01182, allocations: 281.6 kB / 488.9 MB, free: 23.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.01182, allocations: 4.969 kB / 488.9 MB, free: 23.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007232/0.01254, allocations: 496.8 kB / 489.4 MB, free: 22.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.01258, allocations: 67.14 kB / 489.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.01259, allocations: 3.031 kB / 489.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01261, allocations: 3.812 kB / 489.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.01282, allocations: 47.55 kB / 489.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.01283, allocations: 6.703 kB / 489.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.01308, allocations: 60.91 kB / 489.6 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.01313, allocations: 18.52 kB / 489.6 MB, free: 22.71 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.0001632/0.01329, allocations: 205.7 kB / 489.8 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.01334, allocations: 27.91 kB / 489.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.01337, allocations: 16.28 kB / 489.9 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01338, allocations: 2.469 kB / 489.9 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01338, allocations: 1.312 kB / 489.9 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.01339, allocations: 7.406 kB / 489.9 MB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.01403, allocations: 0.5803 MB / 490.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.01403, allocations: 0.9688 kB / 490.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.01408, allocations: 3.938 kB / 490.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01408, allocations: 3.531 kB / 490.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.01411, allocations: 10.03 kB / 490.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01411, allocations: 1.406 kB / 490.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01411, allocations: 3.984 kB / 490.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.01465, allocations: 467.2 kB / 490.9 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01467, allocations: 17.47 kB / 491 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.01472, allocations: 16.19 kB / 491 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.01483, allocations: 14.02 kB / 491 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.01488, allocations: 15.95 kB / 491 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.01492, allocations: 20.36 kB / 491 MB, free: 21.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.839e-05/0.01499, allocations: 143 kB / 491.2 MB, free: 21.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01499, allocations: 1.562 kB / 491.2 MB, free: 21.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.01538, allocations: 70.7 kB / 491.2 MB, free: 21.71 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.000172/0.01555, allocations: 130.2 kB / 491.4 MB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00057/0.01612, allocations: 408 kB / 491.8 MB, free: 21.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01612, allocations: 1.094 kB / 491.8 MB, free: 21.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.01627, allocations: 88.92 kB / 491.8 MB, free: 21.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.01665, allocations: 53.72 kB / 491.9 MB, free: 21.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.01737, allocations: 290.8 kB / 492.2 MB, free: 21.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.182e-05/0.01742, allocations: 73.61 kB / 492.3 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.01749, allocations: 20.03 kB / 492.3 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.01754, allocations: 23.5 kB / 492.3 MB, free: 21.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01755, allocations: 0 / 492.3 MB, free: 21.06 MB / 426.7 MB Notification: Performance of Templates: time 0.006178/0.02372, allocations: 4.109 MB / 496.4 MB, free: 20.7 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.4526112121529877]