Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001351/0.001351, allocations: 109 kB / 20.45 MB, free: 1.52 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.001658/0.001658, allocations: 209.8 kB / 23.75 MB, free: 4.746 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.9674/0.9674, allocations: 150 MB / 463.9 MB, free: 10.49 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [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.00202/0.00202, allocations: 69.33 kB / 0.6425 GB, free: 9.812 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1715, allocations: 89.17 MB / 0.7296 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003068/0.1746, allocations: 1.745 MB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.176, allocations: 0.6301 MB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.1761, allocations: 7.938 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1762, allocations: 11.88 kB / 0.7319 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1763, allocations: 39.78 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.1772, allocations: 366.9 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007132/0.1779, allocations: 0.6009 MB / 0.7329 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.178, allocations: 21.3 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.1785, allocations: 319.6 kB / 0.7332 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.1788, allocations: 167.5 kB / 0.7334 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-05/0.1789, allocations: 40 kB / 0.7334 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.1789, allocations: 44 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1791, allocations: 123.6 kB / 0.7336 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.1793, allocations: 211 kB / 0.7338 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.18, allocations: 0.6072 MB / 0.7344 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.18, allocations: 0 / 0.7344 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.18, allocations: 0 / 0.7344 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.18, allocations: 0 / 0.7344 GB, free: 11.79 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.001372/0.1814, allocations: 0.8495 MB / 0.7352 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1814, allocations: 8.031 kB / 0.7352 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1815, allocations: 56.66 kB / 0.7353 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.182, allocations: 284.6 kB / 0.7356 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/0.182, allocations: 20.36 kB / 0.7356 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.1821, allocations: 28.38 kB / 0.7356 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.1831, allocations: 244.3 kB / 0.7358 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1831, allocations: 192 / 0.7358 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.1831, allocations: 11.91 kB / 0.7358 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1831, allocations: 4 kB / 0.7359 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.1839, allocations: 107.9 kB / 0.736 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1852, allocations: 0.6399 MB / 0.7366 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/0.1862, allocations: 173.3 kB / 0.7367 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.1869, allocations: 112.8 kB / 0.7369 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.187, allocations: 3.984 kB / 0.7369 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009354/0.1879, allocations: 227.1 kB / 0.7371 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.1879, allocations: 4 kB / 0.7371 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002387/0.1903, allocations: 0.4895 MB / 0.7376 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1903, allocations: 63.39 kB / 0.7376 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.1908, allocations: 445.9 kB / 0.738 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.1909, allocations: 37.7 kB / 0.7381 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.191, allocations: 105.3 kB / 0.7382 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.191, allocations: 35.73 kB / 0.7382 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1913, allocations: 141.4 kB / 0.7383 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1914, allocations: 326.8 kB / 0.7387 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.1917, allocations: 139.9 kB / 0.7388 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.192, allocations: 193.8 kB / 0.739 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.1924, allocations: 295.4 kB / 0.7393 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1924, allocations: 0 / 0.7393 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008915/0.1933, allocations: 0.524 MB / 0.7398 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.1934, allocations: 93.25 kB / 0.7399 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1934, allocations: 4.188 kB / 0.7399 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1935, allocations: 4 kB / 0.7399 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1936, allocations: 23.98 kB / 0.7399 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1936, allocations: 7.938 kB / 0.7399 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.1941, allocations: 55.84 kB / 0.74 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.1942, allocations: 63.91 kB / 0.74 GB, free: 5.734 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.0002679/0.1945, allocations: 232.2 kB / 0.7402 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.1945, allocations: 39.72 kB / 0.7403 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.1946, allocations: 43.72 kB / 0.7403 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1946, allocations: 4 kB / 0.7403 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1946, allocations: 0 / 0.7403 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1946, allocations: 0 / 0.7403 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.1968, allocations: 0.7622 MB / 0.7411 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.1968, allocations: 4 kB / 0.7411 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.1968, allocations: 11.88 kB / 0.7411 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1968, allocations: 0 / 0.7411 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.1969, allocations: 23.97 kB / 0.7411 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1969, allocations: 3.938 kB / 0.7411 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1969, allocations: 4 kB / 0.7411 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.1985, allocations: 479.5 kB / 0.7416 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.1989, allocations: 173.5 kB / 0.7417 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.1989, allocations: 16 kB / 0.7417 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.1994, allocations: 35.91 kB / 0.7418 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1994, allocations: 7.984 kB / 0.7418 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.1995, allocations: 63.97 kB / 0.7418 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003409/0.1999, allocations: 315.1 kB / 0.7421 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1999, allocations: 0 / 0.7421 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003517/0.2002, allocations: 67.98 kB / 0.7422 GB, free: 3.406 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.0001787/0.2004, allocations: 131.1 kB / 0.7423 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.2016, allocations: 442.5 kB / 0.7428 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2016, allocations: 3.938 kB / 0.7428 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.2023, allocations: 112.3 kB / 0.7429 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.2027, allocations: 34.19 kB / 0.7429 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.2043, allocations: 0.6456 MB / 0.7435 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.2047, allocations: 0.7825 MB / 0.7443 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.2048, allocations: 31.36 kB / 0.7443 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.2048, allocations: 0 / 0.7443 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of Templates: time 0.006713/0.2115, allocations: 4.092 MB / 0.7483 GB, free: 13.03 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.223399451002479] Failed to read output from testmodel.py, exit status != 0: 0.22015453688800335 0.49171226700000004 0.051725308000000005 Calling exit ...