Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.00157/0.00157, allocations: 105 kB / 20.44 MB, free: 1.504 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.002011/0.002011, allocations: 209.9 kB / 23.76 MB, free: 4.727 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.988 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.9545/0.9545, allocations: 150 MB / 463.9 MB, free: 10.45 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.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [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.002017/0.002017, allocations: 70.61 kB / 0.6425 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 89.17 MB / 0.7296 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002996/0.173, allocations: 1.758 MB / 0.7313 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1744, allocations: 0.6286 MB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.1744, allocations: 3.938 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.271e-05/0.1745, allocations: 11.86 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.1747, allocations: 35.8 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008581/0.1755, allocations: 369.3 kB / 0.7324 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.1762, allocations: 0.597 MB / 0.7329 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1763, allocations: 25.28 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.1767, allocations: 319.6 kB / 0.7333 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.177, allocations: 163.5 kB / 0.7334 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.352e-05/0.1771, allocations: 40 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.1772, allocations: 40 kB / 0.7335 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1773, allocations: 131.6 kB / 0.7336 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.1776, allocations: 215 kB / 0.7338 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.1782, allocations: 0.5917 MB / 0.7344 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1782, allocations: 4 kB / 0.7344 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1782, allocations: 0 / 0.7344 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.1782, allocations: 4 kB / 0.7344 GB, free: 11.75 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001363/0.1796, allocations: 0.8494 MB / 0.7352 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1796, allocations: 8.031 kB / 0.7352 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1797, allocations: 56.66 kB / 0.7353 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.1802, allocations: 276.7 kB / 0.7356 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.1802, allocations: 24.36 kB / 0.7356 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.1803, allocations: 32.34 kB / 0.7356 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009393/0.1812, allocations: 240.7 kB / 0.7358 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1813, allocations: 4.125 kB / 0.7359 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.1813, allocations: 11.94 kB / 0.7359 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1813, allocations: 0 / 0.7359 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.182, allocations: 115.9 kB / 0.736 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.1834, allocations: 0.6322 MB / 0.7366 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/0.1844, allocations: 174.4 kB / 0.7368 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.185, allocations: 108.8 kB / 0.7369 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.185, allocations: 4 kB / 0.7369 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008948/0.1859, allocations: 233.9 kB / 0.7371 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.1859, allocations: 0 / 0.7371 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002389/0.1883, allocations: 0.4933 MB / 0.7376 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1884, allocations: 63.39 kB / 0.7376 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.1889, allocations: 441.9 kB / 0.7381 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.189, allocations: 41.69 kB / 0.7381 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1891, allocations: 109.3 kB / 0.7382 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.1891, allocations: 35.73 kB / 0.7382 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.1893, allocations: 141.4 kB / 0.7384 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1895, allocations: 330.8 kB / 0.7387 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1897, allocations: 139.9 kB / 0.7388 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1901, allocations: 181.9 kB / 0.739 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1905, allocations: 297.2 kB / 0.7393 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1905, allocations: 4 kB / 0.7393 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008872/0.1914, allocations: 0.5144 MB / 0.7398 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.1915, allocations: 103.4 kB / 0.7399 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1915, allocations: 0 / 0.7399 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1915, allocations: 4 kB / 0.7399 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1917, allocations: 23.92 kB / 0.7399 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1917, allocations: 3.984 kB / 0.7399 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.1922, allocations: 63.78 kB / 0.74 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.1923, allocations: 55.98 kB / 0.74 GB, free: 5.699 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: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * 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.0002738/0.1925, allocations: 232.2 kB / 0.7402 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.1926, allocations: 39.72 kB / 0.7403 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.1927, allocations: 47.72 kB / 0.7403 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1927, allocations: 0 / 0.7403 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1927, allocations: 0 / 0.7403 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1927, allocations: 0 / 0.7403 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.1949, allocations: 0.7629 MB / 0.7411 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1949, allocations: 4 kB / 0.7411 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.1949, allocations: 4 kB / 0.7411 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1949, allocations: 0 / 0.7411 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.1949, allocations: 23.97 kB / 0.7411 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.195, allocations: 7.922 kB / 0.7411 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.195, allocations: 4 kB / 0.7411 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.1966, allocations: 482.7 kB / 0.7416 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.197, allocations: 181.5 kB / 0.7417 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.197, allocations: 16 kB / 0.7418 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.1975, allocations: 35.89 kB / 0.7418 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1975, allocations: 11.98 kB / 0.7418 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.1976, allocations: 51.98 kB / 0.7419 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003563/0.198, allocations: 323.1 kB / 0.7422 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.198, allocations: 3.938 kB / 0.7422 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003913/0.1983, allocations: 67.94 kB / 0.7422 GB, free: 3.359 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: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001848/0.1985, allocations: 123.2 kB / 0.7424 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.1998, allocations: 442.5 kB / 0.7428 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1998, allocations: 384 / 0.7428 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/0.2005, allocations: 123.8 kB / 0.7429 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2009, allocations: 37.28 kB / 0.7429 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2025, allocations: 0.6503 MB / 0.7436 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2029, allocations: 0.7903 MB / 0.7443 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.2029, allocations: 15.42 kB / 0.7443 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2029, allocations: 4 kB / 0.7444 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of Templates: time 0.006402/0.2093, allocations: 4.07 MB / 0.7483 GB, free: 13 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.42470962391235] Failed to read output from testmodel.py, exit status != 0: 0.21820872579701245 0.514662643 0.052727538000000004 Calling exit ...