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.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009051, allocations: 93.19 kB / 16.02 MB, free: 84 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.0009317/0.0009318, allocations: 180.4 kB / 16.92 MB, free: 6.684 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6985/0.6985, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003355, allocations: 8 kB / 495.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1714, allocations: 77.53 MB / 0.5599 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002004/0.1735, allocations: 1.232 MB / 0.5612 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.175, allocations: 0.585 MB / 0.5617 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.1751, allocations: 0 / 0.5617 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.377e-05/0.1752, allocations: 7.922 kB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1753, allocations: 27.92 kB / 0.5618 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008913/0.1762, allocations: 282.7 kB / 0.562 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.1768, allocations: 447.4 kB / 0.5625 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.188e-05/0.1768, allocations: 7.984 kB / 0.5625 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.1774, allocations: 307 kB / 0.5628 GB, free: 6.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.1777, allocations: 163.4 kB / 0.5629 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1779, allocations: 16 kB / 0.5629 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.1779, allocations: 12 kB / 0.5629 GB, free: 6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1781, allocations: 115.5 kB / 0.563 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1783, allocations: 204.7 kB / 0.5632 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.1788, allocations: 414.6 kB / 0.5636 GB, free: 5.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1788, allocations: 0 / 0.5636 GB, free: 5.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1788, allocations: 0 / 0.5636 GB, free: 5.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1788, allocations: 0 / 0.5636 GB, free: 5.273 MB / 430.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.001143/0.18, allocations: 0.7537 MB / 0.5644 GB, free: 4.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.18, allocations: 11.97 kB / 0.5644 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1802, allocations: 52.47 kB / 0.5644 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.1806, allocations: 314.2 kB / 0.5647 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/0.1806, allocations: 16.36 kB / 0.5648 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.699e-05/0.1807, allocations: 28.36 kB / 0.5648 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.1818, allocations: 222 kB / 0.565 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1818, allocations: 192 / 0.565 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.1818, allocations: 7.922 kB / 0.565 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1818, allocations: 4 kB / 0.565 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.1827, allocations: 119.9 kB / 0.5651 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.1831, allocations: 389.2 kB / 0.5655 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1843, allocations: 190.5 kB / 0.5657 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007833/0.1851, allocations: 120.8 kB / 0.5658 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1851, allocations: 0 / 0.5658 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009951/0.1861, allocations: 237.9 kB / 0.566 GB, free: 2.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.544e-06/0.1861, allocations: 0 / 0.566 GB, free: 2.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002726/0.1888, allocations: 0.5125 MB / 0.5665 GB, free: 2.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.189, allocations: 59.34 kB / 0.5666 GB, free: 2.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.1895, allocations: 413.9 kB / 0.567 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.1895, allocations: 37.7 kB / 0.567 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.1896, allocations: 93.44 kB / 0.5671 GB, free: 1.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.1897, allocations: 43.44 kB / 0.5671 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.1898, allocations: 45.69 kB / 0.5672 GB, free: 1.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1899, allocations: 318.8 kB / 0.5675 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.1902, allocations: 115.9 kB / 0.5676 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.1905, allocations: 177.8 kB / 0.5678 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.1909, allocations: 275.4 kB / 0.568 GB, free: 492 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1909, allocations: 0 / 0.568 GB, free: 492 kB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008275/0.1917, allocations: 498.7 kB / 0.5685 GB, free: 15.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.1918, allocations: 93.19 kB / 0.5686 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1918, allocations: 0 / 0.5686 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1919, allocations: 4 kB / 0.5686 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.192, allocations: 27.98 kB / 0.5686 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1921, allocations: 3.938 kB / 0.5686 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.1926, allocations: 73.98 kB / 0.5687 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/0.1927, allocations: 59.98 kB / 0.5687 GB, free: 15.71 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.000291/0.193, allocations: 192 kB / 0.5689 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.1931, allocations: 39.47 kB / 0.569 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.1932, allocations: 43.73 kB / 0.569 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1932, allocations: 4 kB / 0.569 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.1932, allocations: 4 kB / 0.569 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1932, allocations: 3.938 kB / 0.569 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.1957, allocations: 0.7604 MB / 0.5698 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1957, allocations: 3.984 kB / 0.5698 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.1957, allocations: 4 kB / 0.5698 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.1957, allocations: 11.88 kB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.1958, allocations: 15.97 kB / 0.5698 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1958, allocations: 8 kB / 0.5698 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1958, allocations: 0 / 0.5698 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.1976, allocations: 493 kB / 0.5703 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.1979, allocations: 204.5 kB / 0.5705 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.198, allocations: 8 kB / 0.5705 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.1985, allocations: 39.97 kB / 0.5705 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.1985, allocations: 11.98 kB / 0.5705 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.1986, allocations: 55.97 kB / 0.5706 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.1989, allocations: 299.1 kB / 0.5709 GB, free: 13.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1989, allocations: 0 / 0.5709 GB, free: 13.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1993, allocations: 63.98 kB / 0.5709 GB, free: 13.38 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.0001587/0.1994, allocations: 123.1 kB / 0.571 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.2008, allocations: 446.8 kB / 0.5715 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2009, allocations: 4.125 kB / 0.5715 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.2017, allocations: 123.9 kB / 0.5716 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.202, allocations: 29.48 kB / 0.5716 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2037, allocations: 0.6812 MB / 0.5723 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.2041, allocations: 0.7711 MB / 0.573 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.902e-05/0.2042, allocations: 17.08 kB / 0.5731 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.2042, allocations: 15.44 kB / 0.5731 GB, free: 11.1 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2042, allocations: 3.938 kB / 0.5731 GB, free: 11.1 MB / 446.1 MB Notification: Performance of Templates: time 0.009977/0.2142, allocations: 4.913 MB / 0.5779 GB, free: 6.102 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)