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.0009175/0.0009175, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001054/0.001054, allocations: 169 kB / 24.14 MB, free: 352 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.933/0.933, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.6578/0.6578, allocations: 115 MB / 376 MB, free: 7.457 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.324e-06/2.324e-06, allocations: 0 / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.409e-05, allocations: 2.312 kB / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001752/0.001776, allocations: 0.8412 MB / 429.5 MB, free: 1.953 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.003468, allocations: 1.376 MB / 430.9 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.003532, allocations: 7.938 kB / 430.9 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003642, allocations: 11.86 kB / 430.9 MB, free: 0.543 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.003773, allocations: 35.64 kB / 431 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.004434, allocations: 271.3 kB / 431.2 MB, free: 248 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.004753, allocations: 291.5 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.004843, allocations: 17.95 kB / 431.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.00511, allocations: 179.5 kB / 431.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.005318, allocations: 115.8 kB / 431.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.005363, allocations: 24 kB / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.005446, allocations: 39.98 kB / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.005513, allocations: 43.83 kB / 431.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.005601, allocations: 79.86 kB / 432 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.005864, allocations: 231.3 kB / 432.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005866, allocations: 0 / 432.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005867, allocations: 0 / 432.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.005871, allocations: 0 / 432.2 MB, free: 15.24 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.0006341/0.006505, allocations: 458.8 kB / 432.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.006536, allocations: 8.031 kB / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.006684, allocations: 36.89 kB / 432.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.006879, allocations: 153.5 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.006902, allocations: 16.31 kB / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.006939, allocations: 16.36 kB / 432.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.00714, allocations: 159.4 kB / 433.1 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.007147, allocations: 192 / 433.1 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.007164, allocations: 8.359 kB / 433.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.007172, allocations: 4.375 kB / 433.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.007232, allocations: 36.16 kB / 433.1 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.007603, allocations: 255.1 kB / 433.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.007727, allocations: 110.5 kB / 433.5 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.007782, allocations: 36.83 kB / 433.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.007794, allocations: 4.188 kB / 433.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.007975, allocations: 170.6 kB / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.007976, allocations: 0 / 433.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003162/0.008292, allocations: 187.7 kB / 433.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.008336, allocations: 59.39 kB / 433.9 MB, free: 13.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.008422, allocations: 138.6 kB / 434.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.008466, allocations: 41.7 kB / 434.1 MB, free: 13.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.008516, allocations: 100.7 kB / 434.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.008575, allocations: 75.47 kB / 434.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.008693, allocations: 77.97 kB / 434.3 MB, free: 12.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.008789, allocations: 338.8 kB / 434.7 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.008936, allocations: 135 kB / 434.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.009104, allocations: 188.9 kB / 435 MB, free: 12.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.009349, allocations: 239.9 kB / 435.2 MB, free: 11.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.009352, allocations: 0 / 435.2 MB, free: 11.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004009/0.009753, allocations: 381.4 kB / 435.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.009799, allocations: 71.52 kB / 435.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.009807, allocations: 4 kB / 435.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.009822, allocations: 4 kB / 435.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.009977, allocations: 47.91 kB / 435.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.009982, allocations: 4 kB / 435.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.01016, allocations: 59.75 kB / 435.8 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.0102, allocations: 19.98 kB / 435.8 MB, free: 11.37 MB / 410.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.0001447/0.01034, allocations: 168.6 kB / 436 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.01038, allocations: 19.92 kB / 436 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.01041, allocations: 21.95 kB / 436 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01041, allocations: 4 kB / 436 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01041, allocations: 0 / 436 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01042, allocations: 0 / 436 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.01074, allocations: 359.2 kB / 436.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01074, allocations: 3.938 kB / 436.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.01076, allocations: 4 kB / 436.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01077, allocations: 8 kB / 436.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01078, allocations: 7.969 kB / 436.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01079, allocations: 4 kB / 436.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01079, allocations: 0 / 436.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01101, allocations: 297.9 kB / 436.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.01103, allocations: 23.78 kB / 436.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.01107, allocations: 15.98 kB / 436.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.01115, allocations: 7.984 kB / 436.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.01119, allocations: 11.98 kB / 436.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.01121, allocations: 15.97 kB / 436.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.01124, allocations: 32.11 kB / 436.8 MB, free: 10.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01124, allocations: 4 kB / 436.8 MB, free: 10.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.01152, allocations: 63.94 kB / 436.9 MB, free: 10.27 MB / 410.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.0001433/0.01166, allocations: 114.3 kB / 437 MB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.01202, allocations: 360.1 kB / 437.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01202, allocations: 0 / 437.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.01211, allocations: 64.81 kB / 437.4 MB, free: 9.684 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01234, allocations: 59.62 kB / 437.4 MB, free: 9.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.01287, allocations: 291.5 kB / 437.7 MB, free: 9.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.01292, allocations: 76.31 kB / 437.8 MB, free: 9.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.01297, allocations: 17.64 kB / 437.8 MB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.01313, allocations: 91.34 kB / 437.9 MB, free: 9.117 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01313, allocations: 0 / 437.9 MB, free: 9.117 MB / 410.7 MB Notification: Performance of Templates: time 0.006369/0.0195, allocations: 4.06 MB / 442 MB, free: 5.078 MB / 410.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.551332094706595]