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.00115/0.00115, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001389/0.001389, allocations: 169 kB / 24.05 MB, free: 460 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.6462/0.6462, allocations: 115 MB / 376 MB, free: 7.469 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.854e-06/1.854e-06, allocations: 0 / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.059e-05, allocations: 4.312 kB / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001972/0.001993, allocations: 0.8379 MB / 482.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.003963, allocations: 1.373 MB / 484.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.004049, allocations: 1.031 kB / 484.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.004167, allocations: 12.66 kB / 484.2 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.004338, allocations: 40.7 kB / 484.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.005135, allocations: 269.3 kB / 484.5 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.005528, allocations: 284.4 kB / 484.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.005646, allocations: 20.53 kB / 484.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.006013, allocations: 174.3 kB / 484.9 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.006302, allocations: 120.5 kB / 485.1 MB, free: 9.914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.006369, allocations: 22.91 kB / 485.1 MB, free: 9.914 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.006487, allocations: 42.69 kB / 485.1 MB, free: 9.906 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.006565, allocations: 46.88 kB / 485.2 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.006673, allocations: 87.61 kB / 485.3 MB, free: 9.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.006992, allocations: 225.4 kB / 485.5 MB, free: 9.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.006995, allocations: 1.344 kB / 485.5 MB, free: 9.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006996, allocations: 1.438 kB / 485.5 MB, free: 9.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.007, allocations: 0 / 485.5 MB, free: 9.742 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.0006135/0.007613, allocations: 0.564 MB / 486 MB, free: 9.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.007653, allocations: 10.16 kB / 486.1 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.007786, allocations: 43.66 kB / 486.1 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.007933, allocations: 178 kB / 486.3 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.007956, allocations: 13.94 kB / 486.3 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.007982, allocations: 21.55 kB / 486.3 MB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.008148, allocations: 144.2 kB / 486.4 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.008156, allocations: 1.281 kB / 486.4 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.008169, allocations: 8.484 kB / 486.5 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008175, allocations: 2.688 kB / 486.5 MB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.00823, allocations: 45.56 kB / 486.5 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.008557, allocations: 386 kB / 486.9 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.008655, allocations: 88.91 kB / 487 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.008702, allocations: 47.39 kB / 487 MB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.00872, allocations: 6.406 kB / 487 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.008876, allocations: 163.2 kB / 487.2 MB, free: 8.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.008877, allocations: 0 / 487.2 MB, free: 8.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004348/0.009312, allocations: 344.5 kB / 487.5 MB, free: 8.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.009339, allocations: 58.41 kB / 487.6 MB, free: 8.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.009577, allocations: 198 kB / 487.8 MB, free: 24.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.009622, allocations: 46.12 kB / 487.8 MB, free: 24.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.009691, allocations: 150.4 kB / 488 MB, free: 24.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.00975, allocations: 73.8 kB / 488 MB, free: 24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.009886, allocations: 97.92 kB / 488.1 MB, free: 23.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01004, allocations: 0.5001 MB / 488.6 MB, free: 23.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.01025, allocations: 137 kB / 488.8 MB, free: 23.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.01046, allocations: 213.1 kB / 489 MB, free: 23.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.01074, allocations: 269 kB / 489.2 MB, free: 23.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.01074, allocations: 1.031 kB / 489.2 MB, free: 23.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005426/0.01128, allocations: 458.6 kB / 489.7 MB, free: 22.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.01132, allocations: 67.77 kB / 489.7 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.01133, allocations: 1.219 kB / 489.7 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01135, allocations: 5.031 kB / 489.7 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.01152, allocations: 47.53 kB / 489.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01152, allocations: 6.312 kB / 489.8 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.01174, allocations: 62.86 kB / 489.9 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.01178, allocations: 18.06 kB / 489.9 MB, free: 22.7 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.0001628/0.01194, allocations: 201.6 kB / 490.1 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.01199, allocations: 31.84 kB / 490.1 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.01202, allocations: 18.7 kB / 490.1 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01203, allocations: 2.094 kB / 490.1 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.01203, allocations: 2.25 kB / 490.1 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01203, allocations: 0 / 490.1 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.01253, allocations: 0.5416 MB / 490.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01253, allocations: 0 / 490.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.01256, allocations: 7.844 kB / 490.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01257, allocations: 1.375 kB / 490.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.01258, allocations: 11.52 kB / 490.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.01259, allocations: 4.234 kB / 490.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01259, allocations: 0.6875 kB / 490.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.01302, allocations: 439.7 kB / 491.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.01304, allocations: 21.11 kB / 491.1 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.01309, allocations: 14.02 kB / 491.2 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.01317, allocations: 11.55 kB / 491.2 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.01321, allocations: 19.86 kB / 491.2 MB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.01324, allocations: 20.66 kB / 491.2 MB, free: 21.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.01329, allocations: 136.2 kB / 491.3 MB, free: 21.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01329, allocations: 2.75 kB / 491.3 MB, free: 21.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.01352, allocations: 69.81 kB / 491.4 MB, free: 21.75 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.0001414/0.01366, allocations: 127.9 kB / 491.5 MB, free: 21.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.01404, allocations: 395 kB / 491.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01404, allocations: 0 / 491.9 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.76e-05/0.01414, allocations: 72.91 kB / 492 MB, free: 21.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01439, allocations: 51.28 kB / 492 MB, free: 21.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.01492, allocations: 289.8 kB / 492.3 MB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.01496, allocations: 73.61 kB / 492.4 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.587e-05/0.01501, allocations: 18.89 kB / 492.4 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.01515, allocations: 118.5 kB / 492.5 MB, free: 21.05 MB / 426.7 MB Notification: Performance of SimCode: time 5e-07/0.01515, allocations: 1.906 kB / 492.5 MB, free: 21.05 MB / 426.7 MB Notification: Performance of Templates: time 0.005922/0.02107, allocations: 4.133 MB / 496.7 MB, free: 20.68 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.625934955663979]