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.001304/0.001304, allocations: 92.11 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.001717/0.001717, 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 1.059/1.059, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.6446/0.6446, allocations: 114.9 MB / 375.7 MB, free: 7.621 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.194e-06/2.194e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.002e-05, allocations: 10.2 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001486/0.001516, allocations: 0.8582 MB / 482.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.002994, allocations: 1.372 MB / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.003069, allocations: 1.062 kB / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.00321, allocations: 12.97 kB / 483.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.00338, allocations: 39.39 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.004132, allocations: 268.1 kB / 484 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.004481, allocations: 284.8 kB / 484.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.004588, allocations: 25.11 kB / 484.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.004865, allocations: 174.6 kB / 484.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.005055, allocations: 105.6 kB / 484.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.005099, allocations: 22.72 kB / 484.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.005193, allocations: 48.31 kB / 484.7 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.005258, allocations: 42.78 kB / 484.7 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.005345, allocations: 83.97 kB / 484.8 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.005601, allocations: 229.2 kB / 485 MB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005604, allocations: 1.5 kB / 485 MB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005605, allocations: 0.6875 kB / 485 MB, free: 9.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.00561, allocations: 1.438 kB / 485 MB, free: 9.816 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.0006354/0.006245, allocations: 0.5682 MB / 485.6 MB, free: 9.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.006282, allocations: 9.938 kB / 485.6 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.006449, allocations: 41.48 kB / 485.6 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.006648, allocations: 178.8 kB / 485.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.006675, allocations: 11.31 kB / 485.8 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.006707, allocations: 21.28 kB / 485.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.006939, allocations: 159.9 kB / 486 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006947, allocations: 192 / 486 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.006963, allocations: 5.594 kB / 486 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.006972, allocations: 3.656 kB / 486 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.552e-05/0.007057, allocations: 54.34 kB / 486.1 MB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.007462, allocations: 409 kB / 486.5 MB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.007596, allocations: 94.3 kB / 486.6 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.007668, allocations: 56.42 kB / 486.6 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.007686, allocations: 4.594 kB / 486.6 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.007875, allocations: 178 kB / 486.8 MB, free: 8.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.007878, allocations: 0.5312 kB / 486.8 MB, free: 8.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005196/0.008397, allocations: 372.1 kB / 487.2 MB, free: 8.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.008427, allocations: 54.22 kB / 487.2 MB, free: 8.434 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.008675, allocations: 200.4 kB / 487.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.008713, allocations: 44.7 kB / 487.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.008776, allocations: 150.6 kB / 487.6 MB, free: 24.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.008822, allocations: 74.77 kB / 487.7 MB, free: 24.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.008922, allocations: 92.03 kB / 487.8 MB, free: 23.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.00904, allocations: 0.5021 MB / 488.3 MB, free: 23.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.009228, allocations: 152.7 kB / 488.4 MB, free: 23.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.009409, allocations: 235.5 kB / 488.6 MB, free: 23.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.009664, allocations: 289.9 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.009667, allocations: 3.938 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005282/0.01019, allocations: 487.3 kB / 489.4 MB, free: 22.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.01024, allocations: 71.59 kB / 489.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.01025, allocations: 1.156 kB / 489.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.01027, allocations: 4.938 kB / 489.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.01042, allocations: 47.11 kB / 489.5 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01043, allocations: 10.52 kB / 489.5 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.01059, allocations: 62.48 kB / 489.6 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.01062, allocations: 20.22 kB / 489.6 MB, free: 22.68 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.0001257/0.01075, allocations: 210.2 kB / 489.8 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.01078, allocations: 29.84 kB / 489.8 MB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.01081, allocations: 13.03 kB / 489.9 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01082, allocations: 3 kB / 489.9 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.01082, allocations: 0.9688 kB / 489.9 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01083, allocations: 3.422 kB / 489.9 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.01129, allocations: 0.5746 MB / 490.4 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01129, allocations: 1.75 kB / 490.4 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.01132, allocations: 11.73 kB / 490.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01133, allocations: 1.219 kB / 490.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01134, allocations: 8.156 kB / 490.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01134, allocations: 0.5625 kB / 490.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01135, allocations: 0 / 490.5 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.01172, allocations: 467.2 kB / 490.9 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.01173, allocations: 16.66 kB / 490.9 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.01177, allocations: 13.11 kB / 491 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.225e-05/0.01183, allocations: 10.08 kB / 491 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.01188, allocations: 17.62 kB / 491 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.0119, allocations: 24.83 kB / 491 MB, free: 21.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.925e-05/0.01196, allocations: 147.3 kB / 491.1 MB, free: 21.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01196, allocations: 0 / 491.1 MB, free: 21.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.01222, allocations: 67.08 kB / 491.2 MB, free: 21.68 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.0001488/0.01237, allocations: 134.7 kB / 491.3 MB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.0128, allocations: 417.5 kB / 491.8 MB, free: 21.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.0128, allocations: 1.438 kB / 491.8 MB, free: 21.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01292, allocations: 87.75 kB / 491.8 MB, free: 21.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01319, allocations: 42.34 kB / 491.9 MB, free: 21.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.01384, allocations: 289.2 kB / 492.2 MB, free: 21.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.01389, allocations: 77.2 kB / 492.2 MB, free: 21.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.01394, allocations: 19.5 kB / 492.3 MB, free: 21.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.01399, allocations: 24.19 kB / 492.3 MB, free: 21.02 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01399, allocations: 0 / 492.3 MB, free: 21.02 MB / 426.7 MB Notification: Performance of Templates: time 0.006388/0.02038, allocations: 3.866 MB / 496.1 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.806022589094937]