Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.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.001899/0.001899, allocations: 72.22 kB / 20.51 MB, free: 1.129 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.001406/0.001406, allocations: 165.1 kB / 23.76 MB, free: 4.195 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.415/1.415, allocations: 177.2 MB / 204.1 MB, free: 8.965 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.9183/0.9183, allocations: 113.9 MB / 374.5 MB, free: 12.92 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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.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.002046/0.002046, allocations: 71.84 kB / 0.555 GB, free: 2.828 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1559, allocations: 89.13 MB / 0.642 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002646/0.1585, allocations: 1.511 MB / 0.6435 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1597, allocations: 0.5307 MB / 0.644 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.1598, allocations: 4 kB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.296e-05/0.1599, allocations: 11.86 kB / 0.6441 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.16, allocations: 27.84 kB / 0.6441 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007531/0.1607, allocations: 314.1 kB / 0.6444 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.1613, allocations: 491.4 kB / 0.6449 GB, free: 6.762 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.1613, allocations: 4 kB / 0.6449 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.1617, allocations: 283.6 kB / 0.6451 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.162, allocations: 131.6 kB / 0.6452 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.1621, allocations: 28 kB / 0.6453 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.1622, allocations: 24 kB / 0.6453 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1623, allocations: 123.6 kB / 0.6454 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1625, allocations: 155.3 kB / 0.6456 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.163, allocations: 430.4 kB / 0.646 GB, free: 5.605 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.163, allocations: 0 / 0.646 GB, free: 5.605 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.779e-06/0.163, allocations: 7.938 kB / 0.646 GB, free: 5.598 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.163, allocations: 0 / 0.646 GB, free: 5.598 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001248/0.1642, allocations: 0.8092 MB / 0.6468 GB, free: 4.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.1643, allocations: 8.031 kB / 0.6468 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1644, allocations: 52.7 kB / 0.6468 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.1648, allocations: 256.7 kB / 0.6471 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.1649, allocations: 20.31 kB / 0.6471 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.1649, allocations: 28.36 kB / 0.6471 GB, free: 4.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.1659, allocations: 230 kB / 0.6473 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1659, allocations: 4.188 kB / 0.6473 GB, free: 4.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.166, allocations: 3.938 kB / 0.6473 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.166, allocations: 0 / 0.6473 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.1667, allocations: 111.9 kB / 0.6475 GB, free: 3.988 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.1672, allocations: 281.1 kB / 0.6477 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1682, allocations: 194.5 kB / 0.6479 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.169, allocations: 112.8 kB / 0.648 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.169, allocations: 4 kB / 0.648 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009956/0.17, allocations: 242.4 kB / 0.6483 GB, free: 3.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.17, allocations: 0 / 0.6483 GB, free: 3.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002633/0.1727, allocations: 0.5244 MB / 0.6488 GB, free: 2.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.1727, allocations: 67.33 kB / 0.6488 GB, free: 2.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.1732, allocations: 409.9 kB / 0.6492 GB, free: 2.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.1732, allocations: 41.69 kB / 0.6493 GB, free: 2.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.1733, allocations: 101.4 kB / 0.6494 GB, free: 1.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.1734, allocations: 39.69 kB / 0.6494 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1736, allocations: 129.5 kB / 0.6495 GB, free: 1.777 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1738, allocations: 322.8 kB / 0.6498 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.1741, allocations: 195.3 kB / 0.65 GB, free: 1.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.1745, allocations: 248.4 kB / 0.6502 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.1749, allocations: 273.2 kB / 0.6505 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1749, allocations: 0 / 0.6505 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009095/0.1758, allocations: 0.557 MB / 0.6511 GB, free: 92 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/0.1759, allocations: 83.42 kB / 0.6511 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1759, allocations: 0 / 0.6511 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.1759, allocations: 7.938 kB / 0.6511 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1761, allocations: 23.86 kB / 0.6512 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1761, allocations: 4 kB / 0.6512 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.1766, allocations: 64 kB / 0.6512 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/0.1767, allocations: 67.98 kB / 0.6513 GB, free: 15.83 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002258/0.1769, allocations: 191.7 kB / 0.6515 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.1769, allocations: 43.7 kB / 0.6515 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.177, allocations: 43.62 kB / 0.6516 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.177, allocations: 3.938 kB / 0.6516 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.177, allocations: 4 kB / 0.6516 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.177, allocations: 0 / 0.6516 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.1793, allocations: 0.7128 MB / 0.6523 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1793, allocations: 3.938 kB / 0.6523 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.1793, allocations: 4 kB / 0.6523 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1793, allocations: 0 / 0.6523 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.1794, allocations: 23.91 kB / 0.6523 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1794, allocations: 4 kB / 0.6523 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1794, allocations: 4 kB / 0.6523 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.1812, allocations: 0.5061 MB / 0.6528 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.1815, allocations: 129.5 kB / 0.6529 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.1816, allocations: 11.98 kB / 0.6529 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.182, allocations: 39.97 kB / 0.653 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.1821, allocations: 11.98 kB / 0.653 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.1822, allocations: 59.97 kB / 0.653 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003125/0.1825, allocations: 295.1 kB / 0.6533 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1825, allocations: 0 / 0.6533 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003803/0.1828, allocations: 71.98 kB / 0.6534 GB, free: 13.63 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001377/0.183, allocations: 109.5 kB / 0.6535 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.1843, allocations: 497.8 kB / 0.654 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1843, allocations: 8 kB / 0.654 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.1851, allocations: 123.8 kB / 0.6541 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1855, allocations: 32.33 kB / 0.6541 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1869, allocations: 0.5742 MB / 0.6547 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.1871, allocations: 163 kB / 0.6548 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1872, allocations: 13.14 kB / 0.6549 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.1872, allocations: 24.48 kB / 0.6549 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1872, allocations: 0 / 0.6549 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.01012/0.1973, allocations: 6.017 MB / 0.6608 GB, free: 5.953 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.347624421003275] Failed to read output from testmodel.py, exit status != 0: 0.20579313195776194 0.220247146 0.05421548700000001 Calling exit ...