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.00137/0.00137, allocations: 75.73 kB / 20.51 MB, free: 1.285 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.001431/0.001431, allocations: 166.2 kB / 23.76 MB, free: 4.473 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.451/1.451, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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.9881/0.9881, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.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.002209/0.002209, allocations: 68.14 kB / 0.5551 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1701, allocations: 89.15 MB / 0.6421 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003075/0.1732, allocations: 1.7 MB / 0.6438 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1745, allocations: 0.6092 MB / 0.6444 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.1746, allocations: 0 / 0.6444 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.675e-05/0.1747, allocations: 15.86 kB / 0.6444 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1748, allocations: 35.73 kB / 0.6444 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.1758, allocations: 376.5 kB / 0.6448 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008179/0.1766, allocations: 0.597 MB / 0.6454 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1767, allocations: 29.22 kB / 0.6454 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.1772, allocations: 319.6 kB / 0.6457 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.1776, allocations: 143.5 kB / 0.6459 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.1778, allocations: 44 kB / 0.6459 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1779, allocations: 40 kB / 0.6459 GB, free: 5.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1781, allocations: 131.6 kB / 0.6461 GB, free: 5.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.1783, allocations: 179.2 kB / 0.6462 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.179, allocations: 0.5957 MB / 0.6468 GB, free: 4.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.179, allocations: 0 / 0.6468 GB, free: 4.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.179, allocations: 0 / 0.6468 GB, free: 4.723 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.179, allocations: 0 / 0.6468 GB, free: 4.723 MB / 0.545 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.001466/0.1804, allocations: 0.8456 MB / 0.6476 GB, free: 3.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1805, allocations: 8.031 kB / 0.6476 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.1806, allocations: 60.59 kB / 0.6477 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.1811, allocations: 280.7 kB / 0.648 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.1811, allocations: 20.36 kB / 0.648 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.1812, allocations: 32.38 kB / 0.648 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1823, allocations: 256 kB / 0.6483 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1823, allocations: 192 / 0.6483 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.1823, allocations: 11.92 kB / 0.6483 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1823, allocations: 7.938 kB / 0.6483 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000798/0.1831, allocations: 123.9 kB / 0.6484 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1844, allocations: 0.5314 MB / 0.6489 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1855, allocations: 194.4 kB / 0.6491 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.1863, allocations: 124.8 kB / 0.6492 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1863, allocations: 4 kB / 0.6492 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009777/0.1873, allocations: 243.1 kB / 0.6495 GB, free: 1.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.1873, allocations: 0 / 0.6495 GB, free: 1.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002651/0.1899, allocations: 0.5386 MB / 0.65 GB, free: 1.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.19, allocations: 67.39 kB / 0.6501 GB, free: 1.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.1905, allocations: 441.9 kB / 0.6505 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.1906, allocations: 45.69 kB / 0.6505 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.1907, allocations: 101.4 kB / 0.6506 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1907, allocations: 39.72 kB / 0.6507 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.1909, allocations: 145.4 kB / 0.6508 GB, free: 456 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1911, allocations: 330.8 kB / 0.6511 GB, free: 116 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.1915, allocations: 215.3 kB / 0.6513 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.1919, allocations: 280.6 kB / 0.6516 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.1923, allocations: 295.1 kB / 0.6519 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1923, allocations: 0 / 0.6519 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001005/0.1933, allocations: 0.6016 MB / 0.6524 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1934, allocations: 91.38 kB / 0.6525 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1934, allocations: 3.938 kB / 0.6525 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1934, allocations: 4 kB / 0.6525 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1936, allocations: 28.09 kB / 0.6526 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1936, allocations: 4 kB / 0.6526 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.1941, allocations: 63.84 kB / 0.6526 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.1942, allocations: 59.98 kB / 0.6527 GB, free: 14.37 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.0002515/0.1944, allocations: 216.3 kB / 0.6529 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.1945, allocations: 43.7 kB / 0.6529 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/0.1946, allocations: 47.73 kB / 0.653 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1946, allocations: 0 / 0.653 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1946, allocations: 0 / 0.653 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1946, allocations: 3.984 kB / 0.653 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.1968, allocations: 0.744 MB / 0.6537 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1968, allocations: 4 kB / 0.6537 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.1969, allocations: 7.984 kB / 0.6537 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1969, allocations: 0 / 0.6537 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.1969, allocations: 15.98 kB / 0.6537 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1969, allocations: 4 kB / 0.6537 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1969, allocations: 4 kB / 0.6538 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.1988, allocations: 0.5214 MB / 0.6543 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.1991, allocations: 181.4 kB / 0.6544 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.1992, allocations: 19.98 kB / 0.6545 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.1997, allocations: 35.97 kB / 0.6545 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1997, allocations: 11.92 kB / 0.6545 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.1998, allocations: 59.97 kB / 0.6546 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003533/0.2001, allocations: 319.1 kB / 0.6549 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2001, allocations: 4 kB / 0.6549 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003711/0.2005, allocations: 75.92 kB / 0.6549 GB, free: 12.01 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.0001608/0.2007, allocations: 119.2 kB / 0.655 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.2021, allocations: 0.5138 MB / 0.6556 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2021, allocations: 4.062 kB / 0.6556 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.2029, allocations: 127.9 kB / 0.6557 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.2033, allocations: 41.61 kB / 0.6557 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.2049, allocations: 0.6209 MB / 0.6563 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.2051, allocations: 179 kB / 0.6565 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.228e-05/0.2052, allocations: 13.48 kB / 0.6565 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.2052, allocations: 20.44 kB / 0.6565 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.2052, allocations: 0 / 0.6565 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.01105/0.2162, allocations: 6.549 MB / 0.6629 GB, free: 3.695 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.522919459966943] Failed to read output from testmodel.py, exit status != 0: 0.22505721694324166 0.23907982200000003 0.057106508 Calling exit ...