Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 207 kB / 16.79 MB, free: 6.84 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.494/1.494, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7801/0.7801, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 63 kB / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1772, allocations: 77.92 MB / 0.5665 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002533/0.1798, allocations: 1.576 MB / 0.568 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.181, allocations: 0.5928 MB / 0.5686 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.1811, allocations: 0 / 0.5686 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.992e-05/0.1812, allocations: 7.922 kB / 0.5686 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.578e-05/0.1813, allocations: 27.91 kB / 0.5687 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.1819, allocations: 286.5 kB / 0.5689 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.1823, allocations: 451.3 kB / 0.5694 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.1823, allocations: 8 kB / 0.5694 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.1827, allocations: 307 kB / 0.5697 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.183, allocations: 155.4 kB / 0.5698 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.1831, allocations: 19.94 kB / 0.5698 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.1832, allocations: 12 kB / 0.5698 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1833, allocations: 115.5 kB / 0.5699 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.1835, allocations: 179 kB / 0.5701 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.1839, allocations: 426.7 kB / 0.5705 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1839, allocations: 0 / 0.5705 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1839, allocations: 0 / 0.5705 GB, free: 12.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1839, allocations: 4 kB / 0.5705 GB, free: 12.6 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.001231/0.1852, allocations: 0.8626 MB / 0.5714 GB, free: 11.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1852, allocations: 8.031 kB / 0.5714 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.1854, allocations: 52.47 kB / 0.5714 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1857, allocations: 314.2 kB / 0.5717 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.1858, allocations: 16.36 kB / 0.5717 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.1859, allocations: 28.38 kB / 0.5718 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1869, allocations: 221.9 kB / 0.572 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1869, allocations: 192 / 0.572 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.187, allocations: 7.875 kB / 0.572 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.187, allocations: 4 kB / 0.572 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.1878, allocations: 91.92 kB / 0.5721 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.1883, allocations: 397.2 kB / 0.5725 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1894, allocations: 170.5 kB / 0.5726 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.1902, allocations: 116.8 kB / 0.5727 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1902, allocations: 0 / 0.5727 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.1912, allocations: 225 kB / 0.5729 GB, free: 9.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.1913, allocations: 4 kB / 0.573 GB, free: 9.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002736/0.194, allocations: 480.9 kB / 0.5734 GB, free: 9.438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.1941, allocations: 67.39 kB / 0.5735 GB, free: 9.359 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.1945, allocations: 409.8 kB / 0.5739 GB, free: 8.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.922e-05/0.1946, allocations: 41.69 kB / 0.5739 GB, free: 8.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.1947, allocations: 93.44 kB / 0.574 GB, free: 8.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.1947, allocations: 43.53 kB / 0.574 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.1949, allocations: 125.3 kB / 0.5742 GB, free: 8.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1951, allocations: 322.8 kB / 0.5745 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.1953, allocations: 131.8 kB / 0.5746 GB, free: 8.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.1957, allocations: 170.9 kB / 0.5748 GB, free: 7.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.196, allocations: 275.2 kB / 0.575 GB, free: 7.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.196, allocations: 0 / 0.575 GB, free: 7.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008552/0.1969, allocations: 492.6 kB / 0.5755 GB, free: 7.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.197, allocations: 87.31 kB / 0.5756 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.197, allocations: 8.188 kB / 0.5756 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.197, allocations: 4 kB / 0.5756 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1972, allocations: 31.91 kB / 0.5756 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1973, allocations: 4 kB / 0.5756 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.1978, allocations: 59.78 kB / 0.5757 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.1979, allocations: 55.98 kB / 0.5757 GB, free: 6.938 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.0002459/0.1982, allocations: 204 kB / 0.5759 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.1982, allocations: 39.47 kB / 0.576 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.1983, allocations: 35.75 kB / 0.576 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1983, allocations: 4 kB / 0.576 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1983, allocations: 0 / 0.576 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1983, allocations: 3.984 kB / 0.576 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.2006, allocations: 0.7449 MB / 0.5767 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2006, allocations: 4 kB / 0.5767 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.2007, allocations: 7.938 kB / 0.5767 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2007, allocations: 0 / 0.5767 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.2007, allocations: 23.97 kB / 0.5768 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2007, allocations: 0 / 0.5768 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2007, allocations: 3.938 kB / 0.5768 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.2026, allocations: 480.4 kB / 0.5772 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.2028, allocations: 192.5 kB / 0.5774 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.2029, allocations: 20 kB / 0.5774 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.2034, allocations: 31.95 kB / 0.5775 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2035, allocations: 4 kB / 0.5775 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.2035, allocations: 59.97 kB / 0.5775 GB, free: 5.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.2038, allocations: 299 kB / 0.5778 GB, free: 4.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2039, allocations: 0 / 0.5778 GB, free: 4.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.2042, allocations: 63.98 kB / 0.5779 GB, free: 4.648 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.0001709/0.2044, allocations: 123.2 kB / 0.578 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.2058, allocations: 434.5 kB / 0.5784 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2058, allocations: 0 / 0.5784 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009141/0.2067, allocations: 125.1 kB / 0.5785 GB, free: 3.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.2071, allocations: 25.48 kB / 0.5785 GB, free: 3.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2087, allocations: 0.6834 MB / 0.5792 GB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.2091, allocations: 0.7672 MB / 0.58 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.2092, allocations: 13.08 kB / 0.58 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.2092, allocations: 15.44 kB / 0.58 GB, free: 2.395 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2092, allocations: 0 / 0.58 GB, free: 2.395 MB / 446.1 MB Notification: Performance of Templates: time 0.2573/0.4665, allocations: 4.941 MB / 0.5848 GB, free: 22.31 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)