Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009946/0.009947, allocations: 101.7 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 195.3 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.816/0.816, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.94 kB / 0.4904 GB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1551, allocations: 77.93 MB / 0.5665 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002551/0.1577, allocations: 1.574 MB / 0.568 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.159, allocations: 0.5928 MB / 0.5686 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.159, allocations: 0 / 0.5686 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1592, allocations: 3.938 kB / 0.5686 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1593, allocations: 19.92 kB / 0.5686 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.16, allocations: 294.9 kB / 0.5689 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.1605, allocations: 443.4 kB / 0.5693 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1605, allocations: 7.984 kB / 0.5694 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.1609, allocations: 315 kB / 0.5697 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.1611, allocations: 155.4 kB / 0.5698 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.1e-05/0.1612, allocations: 16 kB / 0.5698 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.774e-05/0.1613, allocations: 16 kB / 0.5698 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1615, allocations: 119.4 kB / 0.57 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1617, allocations: 175.1 kB / 0.5701 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.1621, allocations: 418.7 kB / 0.5705 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1621, allocations: 4 kB / 0.5705 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1621, allocations: 0 / 0.5705 GB, free: 12.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1621, allocations: 0 / 0.5705 GB, free: 12.57 MB / 446.1 MB 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.00122/0.1634, allocations: 0.8587 MB / 0.5714 GB, free: 11.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1634, allocations: 12.03 kB / 0.5714 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1636, allocations: 52.47 kB / 0.5714 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1639, allocations: 318.2 kB / 0.5717 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.164, allocations: 16.36 kB / 0.5717 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.1641, allocations: 28.36 kB / 0.5718 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.1651, allocations: 214 kB / 0.572 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1651, allocations: 192 / 0.572 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.1651, allocations: 7.938 kB / 0.572 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1652, allocations: 0 / 0.572 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.166, allocations: 103.8 kB / 0.5721 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1664, allocations: 393.2 kB / 0.5725 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1675, allocations: 181.8 kB / 0.5726 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/0.1683, allocations: 108.8 kB / 0.5727 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1683, allocations: 4 kB / 0.5727 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009688/0.1693, allocations: 228.1 kB / 0.573 GB, free: 9.879 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1693, allocations: 0 / 0.573 GB, free: 9.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.00281/0.1721, allocations: 491 kB / 0.5734 GB, free: 9.395 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.1722, allocations: 63.41 kB / 0.5735 GB, free: 9.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.1726, allocations: 413.8 kB / 0.5739 GB, free: 8.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.1727, allocations: 37.64 kB / 0.5739 GB, free: 8.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.1728, allocations: 101.4 kB / 0.574 GB, free: 8.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.1728, allocations: 47.47 kB / 0.5741 GB, free: 8.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.173, allocations: 125.3 kB / 0.5742 GB, free: 8.586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1732, allocations: 322.8 kB / 0.5745 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1735, allocations: 119.9 kB / 0.5746 GB, free: 8.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.1738, allocations: 174.9 kB / 0.5748 GB, free: 7.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.1741, allocations: 275.1 kB / 0.575 GB, free: 7.652 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1742, allocations: 4 kB / 0.575 GB, free: 7.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008074/0.175, allocations: 484.7 kB / 0.5755 GB, free: 7.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/0.1751, allocations: 91.31 kB / 0.5756 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1751, allocations: 3.984 kB / 0.5756 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1751, allocations: 4 kB / 0.5756 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1753, allocations: 27.92 kB / 0.5756 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.1753, allocations: 0 / 0.5756 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.1758, allocations: 63.98 kB / 0.5757 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/0.1759, allocations: 59.97 kB / 0.5757 GB, free: 6.898 MB / 446.1 MB 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.0002187/0.1761, allocations: 192 kB / 0.5759 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.1762, allocations: 39.47 kB / 0.5759 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.1763, allocations: 39.75 kB / 0.576 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1763, allocations: 15.92 kB / 0.576 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1763, allocations: 0 / 0.576 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1763, allocations: 0 / 0.576 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.1785, allocations: 0.7402 MB / 0.5767 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1786, allocations: 4 kB / 0.5767 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.1786, allocations: 7.984 kB / 0.5767 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1786, allocations: 4 kB / 0.5767 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.1786, allocations: 15.98 kB / 0.5768 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1786, allocations: 0 / 0.5768 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1787, allocations: 3.938 kB / 0.5768 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.1803, allocations: 481.4 kB / 0.5772 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.1806, allocations: 196.5 kB / 0.5774 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.1807, allocations: 15.98 kB / 0.5774 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.1811, allocations: 27.97 kB / 0.5774 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1812, allocations: 15.98 kB / 0.5775 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.1813, allocations: 55.97 kB / 0.5775 GB, free: 4.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003196/0.1816, allocations: 299.1 kB / 0.5778 GB, free: 4.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1816, allocations: 0 / 0.5778 GB, free: 4.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.182, allocations: 63.98 kB / 0.5779 GB, free: 4.613 MB / 446.1 MB 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.0001616/0.1821, allocations: 119.1 kB / 0.578 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.1834, allocations: 438.5 kB / 0.5784 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1834, allocations: 3.938 kB / 0.5784 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.1841, allocations: 123.8 kB / 0.5785 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1845, allocations: 27.58 kB / 0.5785 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.1861, allocations: 0.6703 MB / 0.5792 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1864, allocations: 0.7711 MB / 0.58 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.1865, allocations: 17.08 kB / 0.58 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.1865, allocations: 19.44 kB / 0.58 GB, free: 2.355 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1865, allocations: 0 / 0.58 GB, free: 2.355 MB / 446.1 MB Notification: Performance of Templates: time 0.307/0.4936, allocations: 4.94 MB / 0.5848 GB, free: 22.27 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)