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.001736/0.001736, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.002519/0.002519, allocations: 212.9 kB / 23.74 MB, free: 4.445 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.477/1.477, allocations: 230.6 MB / 257.5 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.9494/0.9494, allocations: 149.9 MB / 463.8 MB, free: 10.36 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.002187/0.002187, allocations: 69.39 kB / 0.6423 GB, free: 9.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1696, allocations: 89.16 MB / 0.7294 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002413/0.172, allocations: 0.8268 MB / 0.7302 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1742, allocations: 1.33 MB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.1743, allocations: 3.938 kB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1744, allocations: 11.86 kB / 0.7315 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1745, allocations: 43.7 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.1754, allocations: 269 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.1757, allocations: 287.4 kB / 0.7321 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1758, allocations: 21.3 kB / 0.7321 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.1761, allocations: 139.6 kB / 0.7322 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1764, allocations: 115.6 kB / 0.7323 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.1764, allocations: 24 kB / 0.7323 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1765, allocations: 43.98 kB / 0.7324 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.1766, allocations: 47.83 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1767, allocations: 91.67 kB / 0.7325 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.1771, allocations: 271 kB / 0.7328 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1771, allocations: 0 / 0.7328 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1771, allocations: 4 kB / 0.7328 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1771, allocations: 0 / 0.7328 GB, free: 13.05 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.0009901/0.1781, allocations: 473.4 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1781, allocations: 12.03 kB / 0.7332 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1783, allocations: 36.77 kB / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1786, allocations: 162.4 kB / 0.7334 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.1787, allocations: 20.25 kB / 0.7335 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.1787, allocations: 24.36 kB / 0.7335 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.1791, allocations: 183.7 kB / 0.7337 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1791, allocations: 192 / 0.7337 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.1792, allocations: 11.92 kB / 0.7337 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1792, allocations: 4 kB / 0.7337 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.1794, allocations: 88.17 kB / 0.7338 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.18, allocations: 364.4 kB / 0.7341 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.1803, allocations: 122.5 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1804, allocations: 76.97 kB / 0.7343 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1805, allocations: 15.89 kB / 0.7343 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.1808, allocations: 211.8 kB / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.704e-06/0.1808, allocations: 0 / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.000931/0.1818, allocations: 463.5 kB / 0.735 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1818, allocations: 55.41 kB / 0.735 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1819, allocations: 136 kB / 0.7351 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.182, allocations: 45.69 kB / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.1821, allocations: 100.8 kB / 0.7353 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/0.1822, allocations: 75.45 kB / 0.7353 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.1824, allocations: 93.97 kB / 0.7354 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1825, allocations: 331 kB / 0.7357 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.1829, allocations: 204.1 kB / 0.7359 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.1833, allocations: 272.5 kB / 0.7362 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.1839, allocations: 366.3 kB / 0.7366 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1839, allocations: 0 / 0.7366 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009622/0.1848, allocations: 0.5574 MB / 0.7371 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.1849, allocations: 71.39 kB / 0.7372 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1849, allocations: 0 / 0.7372 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1849, allocations: 8.125 kB / 0.7372 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1852, allocations: 47.91 kB / 0.7372 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1852, allocations: 4 kB / 0.7372 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.1856, allocations: 75.66 kB / 0.7373 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.1856, allocations: 27.97 kB / 0.7373 GB, free: 8.094 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.0002062/0.1858, allocations: 173.7 kB / 0.7375 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1859, allocations: 15.91 kB / 0.7375 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.1859, allocations: 13.97 kB / 0.7375 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1859, allocations: 0 / 0.7375 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1859, allocations: 7.922 kB / 0.7375 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1859, allocations: 0 / 0.7375 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.1868, allocations: 0.5876 MB / 0.7381 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1868, allocations: 4 kB / 0.7381 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.1869, allocations: 7.984 kB / 0.7381 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1869, allocations: 4 kB / 0.7381 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.1869, allocations: 15.98 kB / 0.7381 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1869, allocations: 0 / 0.7381 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1869, allocations: 0 / 0.7381 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.1876, allocations: 471.9 kB / 0.7386 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.1876, allocations: 23.77 kB / 0.7386 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.1877, allocations: 16.08 kB / 0.7386 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1878, allocations: 8 kB / 0.7386 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1879, allocations: 23.89 kB / 0.7386 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.1879, allocations: 23.97 kB / 0.7387 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.188, allocations: 105.9 kB / 0.7388 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.188, allocations: 0 / 0.7388 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003628/0.1883, allocations: 71.94 kB / 0.7388 GB, free: 6.473 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.0002056/0.1885, allocations: 125.2 kB / 0.739 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007902/0.1893, allocations: 473.9 kB / 0.7394 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1893, allocations: 256 / 0.7394 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.1896, allocations: 111.3 kB / 0.7395 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1899, allocations: 27.97 kB / 0.7395 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.1906, allocations: 354.9 kB / 0.7399 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.1907, allocations: 110.5 kB / 0.74 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.1908, allocations: 19.44 kB / 0.74 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.1908, allocations: 0 / 0.74 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of Templates: time 0.005813/0.1966, allocations: 3.104 MB / 0.743 GB, free: 2.105 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.271975482348353] Failed to read output from testmodel.py, exit status != 0: 0.20530829904600978 0.22032034399999995 0.04000137199999994 Calling exit ...