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.0009189/0.0009189, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001366/0.001366, allocations: 169 kB / 24.25 MB, free: 300 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 0.9902/0.9902, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.6814/0.6814, allocations: 115 MB / 376 MB, free: 7.668 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.495e-06/2.495e-06, allocations: 0 / 481.5 MB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.351e-05, allocations: 2.312 kB / 481.5 MB, free: 12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001488/0.001511, allocations: 0.8423 MB / 482.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003062, allocations: 1.37 MB / 483.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.003132, allocations: 0.7812 kB / 483.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.003258, allocations: 15.81 kB / 483.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.003398, allocations: 34.3 kB / 483.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.00397, allocations: 269 kB / 484 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.004268, allocations: 288.4 kB / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.004416, allocations: 21.14 kB / 484.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.004688, allocations: 173.5 kB / 484.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.004891, allocations: 113.2 kB / 484.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.004937, allocations: 23.56 kB / 484.6 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.527e-05/0.005022, allocations: 43.84 kB / 484.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.005091, allocations: 42.52 kB / 484.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.5e-05/0.005186, allocations: 86.34 kB / 484.8 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.005469, allocations: 226.5 kB / 485 MB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.005471, allocations: 0 / 485 MB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.005471, allocations: 0.5 kB / 485 MB, free: 9.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005476, allocations: 2.906 kB / 485 MB, free: 9.965 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.0007298/0.006206, allocations: 0.5635 MB / 485.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.006251, allocations: 9.688 kB / 485.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.006433, allocations: 40.92 kB / 485.6 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.006639, allocations: 178.9 kB / 485.8 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.006673, allocations: 20.56 kB / 485.8 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.006709, allocations: 19.25 kB / 485.8 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.006968, allocations: 157.7 kB / 486 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.006977, allocations: 0.9375 kB / 486 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.006995, allocations: 2.188 kB / 486 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.007006, allocations: 7.469 kB / 486 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.007099, allocations: 52.88 kB / 486.1 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.00773, allocations: 412.2 kB / 486.5 MB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.007877, allocations: 91.48 kB / 486.6 MB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.007958, allocations: 59.44 kB / 486.6 MB, free: 24.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.007976, allocations: 3.594 kB / 486.6 MB, free: 24.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.0082, allocations: 177 kB / 486.8 MB, free: 24.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.296e-06/0.008203, allocations: 0 / 486.8 MB, free: 24.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006039/0.008807, allocations: 370.9 kB / 487.2 MB, free: 24.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.008849, allocations: 60.28 kB / 487.2 MB, free: 24.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.008974, allocations: 198.9 kB / 487.4 MB, free: 24.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.009012, allocations: 45.31 kB / 487.5 MB, free: 24.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.009088, allocations: 146.4 kB / 487.6 MB, free: 24.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.009141, allocations: 79.86 kB / 487.7 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.009249, allocations: 93.36 kB / 487.8 MB, free: 24.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.009385, allocations: 0.5005 MB / 488.3 MB, free: 23.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.009573, allocations: 150.2 kB / 488.4 MB, free: 23.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.009782, allocations: 238.2 kB / 488.6 MB, free: 23.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.01006, allocations: 280.5 kB / 488.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.01006, allocations: 3.938 kB / 488.9 MB, free: 23.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005553/0.01062, allocations: 496 kB / 489.4 MB, free: 22.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.01066, allocations: 66.92 kB / 489.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.01067, allocations: 3.156 kB / 489.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.01069, allocations: 3.438 kB / 489.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01087, allocations: 48.5 kB / 489.5 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.01088, allocations: 3.688 kB / 489.5 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.01105, allocations: 60.48 kB / 489.6 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.01109, allocations: 23.31 kB / 489.6 MB, free: 22.82 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.0001306/0.01122, allocations: 207.1 kB / 489.8 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.01126, allocations: 30.34 kB / 489.8 MB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.01129, allocations: 19.56 kB / 489.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01129, allocations: 3.719 kB / 489.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.0113, allocations: 1.156 kB / 489.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.0113, allocations: 0 / 489.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.01179, allocations: 0.5762 MB / 490.4 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0118, allocations: 0 / 490.4 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.01183, allocations: 12.62 kB / 490.5 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01183, allocations: 1.281 kB / 490.5 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01185, allocations: 12 kB / 490.5 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01185, allocations: 0 / 490.5 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01185, allocations: 7.297 kB / 490.5 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.01223, allocations: 459.5 kB / 490.9 MB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01225, allocations: 17.31 kB / 490.9 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.01229, allocations: 14.09 kB / 491 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.01235, allocations: 6 kB / 491 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.0124, allocations: 18.5 kB / 491 MB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.01243, allocations: 19.97 kB / 491 MB, free: 21.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.27e-05/0.01248, allocations: 148.9 kB / 491.1 MB, free: 21.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01248, allocations: 0.9062 kB / 491.1 MB, free: 21.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000249/0.01273, allocations: 67.03 kB / 491.2 MB, free: 21.84 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.0001737/0.0129, allocations: 137.2 kB / 491.3 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.01334, allocations: 407.6 kB / 491.7 MB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01334, allocations: 0 / 491.7 MB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.01346, allocations: 93.33 kB / 491.8 MB, free: 21.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01373, allocations: 53.42 kB / 491.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.01433, allocations: 288.7 kB / 492.2 MB, free: 21.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.01438, allocations: 73.5 kB / 492.2 MB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01442, allocations: 20.34 kB / 492.3 MB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.01447, allocations: 19.5 kB / 492.3 MB, free: 21.18 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01447, allocations: 3.938 kB / 492.3 MB, free: 21.17 MB / 426.7 MB Notification: Performance of Templates: time 0.005939/0.02041, allocations: 3.861 MB / 496.1 MB, free: 20.84 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.559925298905]