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.001278/0.001278, allocations: 103.8 kB / 20.49 MB, free: 1.316 MB / 14.72 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.001413/0.001413, allocations: 213.9 kB / 23.79 MB, free: 4.449 MB / 14.72 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.385/1.385, allocations: 230.6 MB / 257.6 MB, free: 7.781 MB / 206.1 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.924/0.924, allocations: 150 MB / 464 MB, free: 10.18 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 75.39 kB / 0.6425 GB, free: 9.367 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1727, allocations: 89.17 MB / 0.7296 GB, free: 264 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002056/0.1748, allocations: 0.8215 MB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1766, allocations: 1.338 MB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.1767, allocations: 4 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.821e-05/0.1768, allocations: 11.81 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.1769, allocations: 31.78 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.1776, allocations: 284.3 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.1779, allocations: 283.4 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.178, allocations: 17.3 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1783, allocations: 139.7 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1785, allocations: 119.6 kB / 0.7325 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.1786, allocations: 20 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1787, allocations: 47.91 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.1787, allocations: 35.91 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1789, allocations: 95.67 kB / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.1793, allocations: 275 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1793, allocations: 0 / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1793, allocations: 0 / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1793, allocations: 0 / 0.733 GB, free: 12.76 MB / 0.5606 GB 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.0009107/0.1802, allocations: 485.4 kB / 0.7334 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1802, allocations: 8.031 kB / 0.7335 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.1804, allocations: 32.83 kB / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1807, allocations: 166.3 kB / 0.7336 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.1807, allocations: 12.38 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.1808, allocations: 20.38 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.1811, allocations: 195 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1812, allocations: 192 / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1812, allocations: 3.938 kB / 0.7339 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1812, allocations: 11.92 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.1814, allocations: 92.12 kB / 0.734 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.182, allocations: 364.4 kB / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.1823, allocations: 114.5 kB / 0.7344 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1825, allocations: 84.91 kB / 0.7345 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1825, allocations: 7.906 kB / 0.7345 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.1828, allocations: 211.9 kB / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.1828, allocations: 0 / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0009139/0.1837, allocations: 463.4 kB / 0.7352 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1838, allocations: 63.34 kB / 0.7352 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1839, allocations: 140.2 kB / 0.7353 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.184, allocations: 37.7 kB / 0.7354 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.1841, allocations: 108.7 kB / 0.7355 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.1841, allocations: 71.52 kB / 0.7356 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1843, allocations: 89.94 kB / 0.7356 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1844, allocations: 334.9 kB / 0.736 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1848, allocations: 208.1 kB / 0.7362 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.1851, allocations: 268.6 kB / 0.7364 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.1857, allocations: 362.3 kB / 0.7368 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1857, allocations: 0 / 0.7368 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009158/0.1866, allocations: 0.5575 MB / 0.7373 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.1867, allocations: 67.39 kB / 0.7374 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1867, allocations: 4 kB / 0.7374 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1867, allocations: 7.984 kB / 0.7374 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.1869, allocations: 47.92 kB / 0.7374 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1869, allocations: 7.984 kB / 0.7374 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.1873, allocations: 71.91 kB / 0.7375 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.1873, allocations: 23.98 kB / 0.7375 GB, free: 7.805 MB / 0.5606 GB 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.0001751/0.1875, allocations: 165.6 kB / 0.7377 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.1876, allocations: 19.89 kB / 0.7377 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.1876, allocations: 17.97 kB / 0.7377 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1876, allocations: 7.938 kB / 0.7377 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1876, allocations: 0 / 0.7377 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1876, allocations: 0 / 0.7377 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.1884, allocations: 0.5954 MB / 0.7383 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1884, allocations: 0 / 0.7383 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.1884, allocations: 4 kB / 0.7383 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1885, allocations: 4 kB / 0.7383 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1885, allocations: 11.97 kB / 0.7383 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1885, allocations: 3.938 kB / 0.7383 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1885, allocations: 7.938 kB / 0.7383 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.1892, allocations: 467.9 kB / 0.7388 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.1892, allocations: 15.84 kB / 0.7388 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.1892, allocations: 15.98 kB / 0.7388 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1894, allocations: 11.98 kB / 0.7388 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1894, allocations: 19.91 kB / 0.7388 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.1895, allocations: 19.98 kB / 0.7389 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.978e-05/0.1896, allocations: 101.5 kB / 0.739 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1896, allocations: 0 / 0.739 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003567/0.1899, allocations: 71.94 kB / 0.739 GB, free: 6.195 MB / 0.5606 GB 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.0002141/0.1901, allocations: 137.2 kB / 0.7392 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008291/0.191, allocations: 469.9 kB / 0.7396 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.191, allocations: 7.938 kB / 0.7396 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.1912, allocations: 103.9 kB / 0.7397 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1915, allocations: 40.2 kB / 0.7398 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.1922, allocations: 317.3 kB / 0.7401 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1923, allocations: 110.5 kB / 0.7402 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.143e-05/0.1923, allocations: 21.64 kB / 0.7402 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.1924, allocations: 15.44 kB / 0.7402 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1924, allocations: 0 / 0.7402 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of Templates: time 0.007912/0.2003, allocations: 3.96 MB / 0.7441 GB, free: 1.031 MB / 0.5606 GB " [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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.438269534148276] Failed to read output from testmodel.py, exit status != 0: 0.20850262697786093 0.22292721100000001 0.040667802 Calling exit ...