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.001934/0.001934, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.002341/0.002341, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.497/1.497, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.9995/0.9995, allocations: 115 MB / 375.3 MB, free: 7.566 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.465e-06/2.465e-06, allocations: 0 / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.873e-05, allocations: 4.984 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.00274/0.002768, allocations: 0.8289 MB / 481.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.006168, allocations: 1.341 MB / 482.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.006271, allocations: 1.031 kB / 482.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.006422, allocations: 20.41 kB / 483 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.006623, allocations: 35.91 kB / 483 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.007759, allocations: 269.7 kB / 483.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.008196, allocations: 290.3 kB / 483.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.008326, allocations: 24.75 kB / 483.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.00875, allocations: 169.5 kB / 483.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.009074, allocations: 113.6 kB / 483.8 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.009156, allocations: 23.38 kB / 483.9 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.009298, allocations: 38.22 kB / 483.9 MB, free: 9.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.009388, allocations: 38.44 kB / 483.9 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.009555, allocations: 92.92 kB / 484 MB, free: 9.914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.01002, allocations: 312.5 kB / 484.3 MB, free: 9.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.01003, allocations: 0 / 484.3 MB, free: 9.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01003, allocations: 0 / 484.3 MB, free: 9.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.01004, allocations: 1.156 kB / 484.3 MB, free: 9.797 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.001235/0.01127, allocations: 476.7 kB / 484.8 MB, free: 9.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.01131, allocations: 14.31 kB / 484.8 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.01166, allocations: 43.78 kB / 484.9 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.01201, allocations: 170.4 kB / 485 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.01206, allocations: 11.91 kB / 485 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.01214, allocations: 21.3 kB / 485.1 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.0127, allocations: 182 kB / 485.2 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01271, allocations: 192 / 485.2 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.01275, allocations: 5.812 kB / 485.2 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.01276, allocations: 3.938 kB / 485.2 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.01314, allocations: 96.66 kB / 485.3 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.01395, allocations: 354.7 kB / 485.7 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.01438, allocations: 121.2 kB / 485.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.01467, allocations: 80.75 kB / 485.9 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.0147, allocations: 7.781 kB / 485.9 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005606/0.01526, allocations: 215.6 kB / 486.1 MB, free: 8.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.985e-06/0.01526, allocations: 0.7188 kB / 486.1 MB, free: 8.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.00148/0.01674, allocations: 476.5 kB / 486.6 MB, free: 8.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.01678, allocations: 60.75 kB / 486.6 MB, free: 8.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01692, allocations: 138 kB / 486.8 MB, free: 8.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.01701, allocations: 37.58 kB / 486.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.01709, allocations: 107.3 kB / 486.9 MB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/0.01718, allocations: 74.61 kB / 487 MB, free: 8.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.01742, allocations: 87.69 kB / 487.1 MB, free: 8.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000414/0.01783, allocations: 327.1 kB / 487.4 MB, free: 23.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.01839, allocations: 210.8 kB / 487.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.01899, allocations: 266 kB / 487.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.01988, allocations: 370 kB / 488.2 MB, free: 23.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.01988, allocations: 2.656 kB / 488.2 MB, free: 23.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001506/0.02139, allocations: 0.5769 MB / 488.8 MB, free: 22.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.02146, allocations: 67.42 kB / 488.9 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.02147, allocations: 1.344 kB / 488.9 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.0215, allocations: 3.938 kB / 488.9 MB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.02192, allocations: 57.83 kB / 488.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.02193, allocations: 8.812 kB / 488.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.02244, allocations: 71.39 kB / 489 MB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/0.02251, allocations: 22.56 kB / 489 MB, free: 22.87 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.0002306/0.02274, allocations: 168 kB / 489.2 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.02281, allocations: 29.52 kB / 489.2 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.02284, allocations: 14 kB / 489.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.02285, allocations: 2.594 kB / 489.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.02286, allocations: 0 / 489.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02286, allocations: 4.453 kB / 489.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.0237, allocations: 0.5883 MB / 489.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.0237, allocations: 1.156 kB / 489.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.02376, allocations: 12.53 kB / 489.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.02376, allocations: 2.281 kB / 489.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.02379, allocations: 14.89 kB / 489.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.02379, allocations: 1.125 kB / 489.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.02379, allocations: 6.641 kB / 489.9 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.02446, allocations: 479.2 kB / 490.3 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.02448, allocations: 17.38 kB / 490.3 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.02453, allocations: 18.8 kB / 490.4 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.02466, allocations: 5.672 kB / 490.4 MB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.02473, allocations: 23.95 kB / 490.4 MB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.02476, allocations: 17.66 kB / 490.4 MB, free: 22.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.458e-05/0.02485, allocations: 103.9 kB / 490.5 MB, free: 22.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02485, allocations: 0 / 490.5 MB, free: 22.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.02523, allocations: 71.86 kB / 490.6 MB, free: 22 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.0002232/0.02545, allocations: 128.4 kB / 490.7 MB, free: 21.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007362/0.02619, allocations: 478.6 kB / 491.2 MB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02619, allocations: 1.312 kB / 491.2 MB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.0264, allocations: 103.3 kB / 491.3 MB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.02681, allocations: 44.73 kB / 491.3 MB, free: 21.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.02742, allocations: 309.5 kB / 491.6 MB, free: 21.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.02752, allocations: 107.7 kB / 491.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.607e-05/0.02761, allocations: 24.78 kB / 491.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.02766, allocations: 19.41 kB / 491.8 MB, free: 21.29 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02766, allocations: 0 / 491.8 MB, free: 21.29 MB / 426.7 MB Notification: Performance of Templates: time 0.008974/0.03664, allocations: 3.867 MB / 495.6 MB, free: 20.96 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.575896902009845]