Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001648/0.001648, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001357/0.001357, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002558, allocations: 279.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002695, allocations: 94.44 kB / 0.6057 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1653, allocations: 89.16 MB / 0.6928 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002813/0.1681, allocations: 1.57 MB / 0.6943 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1695, allocations: 0.5906 MB / 0.6949 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.1695, allocations: 0 / 0.6949 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.458e-05/0.1696, allocations: 7.875 kB / 0.6949 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1698, allocations: 23.91 kB / 0.6949 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.1705, allocations: 286.9 kB / 0.6952 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.171, allocations: 451.4 kB / 0.6956 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1711, allocations: 11.94 kB / 0.6956 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/0.1715, allocations: 307 kB / 0.6959 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1718, allocations: 171.1 kB / 0.6961 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.1719, allocations: 12 kB / 0.6961 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.172, allocations: 20 kB / 0.6961 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1721, allocations: 107.7 kB / 0.6962 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.1724, allocations: 186.8 kB / 0.6964 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.1729, allocations: 418.7 kB / 0.6968 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1729, allocations: 0 / 0.6968 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1729, allocations: 0 / 0.6968 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1729, allocations: 0 / 0.6968 GB, free: 0.6758 MB / 494.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.001321/0.1742, allocations: 0.8703 MB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1743, allocations: 12.03 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1744, allocations: 60.45 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.1748, allocations: 298.4 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.1748, allocations: 20.36 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/0.1749, allocations: 28.36 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.176, allocations: 209.9 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.176, allocations: 4.172 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.1761, allocations: 3.938 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1761, allocations: 11.94 kB / 0.6983 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.1769, allocations: 99.92 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1774, allocations: 381.2 kB / 0.6987 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.1787, allocations: 186.4 kB / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008446/0.1795, allocations: 108.8 kB / 0.699 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1796, allocations: 0 / 0.699 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.1807, allocations: 232.7 kB / 0.6992 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1807, allocations: 0 / 0.6992 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002848/0.1835, allocations: 484.9 kB / 0.6997 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1836, allocations: 67.31 kB / 0.6998 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.1841, allocations: 409.9 kB / 0.7002 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/0.1841, allocations: 41.69 kB / 0.7002 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.1842, allocations: 101.4 kB / 0.7003 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.1843, allocations: 27.61 kB / 0.7003 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.1845, allocations: 133.3 kB / 0.7005 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1847, allocations: 318.8 kB / 0.7008 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.185, allocations: 119.9 kB / 0.7009 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.1853, allocations: 170.6 kB / 0.701 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.1858, allocations: 274.8 kB / 0.7013 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1858, allocations: 3.938 kB / 0.7013 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00111/0.1869, allocations: 0.4927 MB / 0.7018 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.187, allocations: 92.56 kB / 0.7019 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1871, allocations: 4 kB / 0.7019 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1871, allocations: 7.938 kB / 0.7019 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1873, allocations: 19.92 kB / 0.7019 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.1873, allocations: 4 kB / 0.7019 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.1878, allocations: 64.02 kB / 0.702 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/0.1879, allocations: 63.98 kB / 0.702 GB, free: 11 MB / 0.4981 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.0002567/0.1882, allocations: 188 kB / 0.7022 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.1883, allocations: 39.47 kB / 0.7022 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/0.1884, allocations: 43.73 kB / 0.7023 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1884, allocations: 4 kB / 0.7023 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1884, allocations: 4 kB / 0.7023 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1884, allocations: 0 / 0.7023 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.1909, allocations: 0.7462 MB / 0.703 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1909, allocations: 7.984 kB / 0.703 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.1909, allocations: 4 kB / 0.703 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1909, allocations: 0 / 0.703 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.191, allocations: 23.97 kB / 0.7031 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.191, allocations: 4 kB / 0.7031 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.191, allocations: 0 / 0.7031 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.193, allocations: 470.8 kB / 0.7035 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.1933, allocations: 212.4 kB / 0.7037 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.1934, allocations: 8 kB / 0.7037 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.1939, allocations: 27.97 kB / 0.7037 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.194, allocations: 15.92 kB / 0.7038 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/0.1941, allocations: 59.97 kB / 0.7038 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003405/0.1944, allocations: 295.1 kB / 0.7041 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1944, allocations: 0 / 0.7041 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003839/0.1948, allocations: 67.98 kB / 0.7042 GB, free: 8.711 MB / 0.4981 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.0001612/0.195, allocations: 119.9 kB / 0.7043 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.1964, allocations: 444.2 kB / 0.7047 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1964, allocations: 0 / 0.7047 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/0.1972, allocations: 111.9 kB / 0.7048 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1976, allocations: 38.77 kB / 0.7048 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1993, allocations: 0.6745 MB / 0.7055 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1997, allocations: 0.7672 MB / 0.7063 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.213e-05/0.1998, allocations: 9.094 kB / 0.7063 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.1998, allocations: 23.42 kB / 0.7063 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of SimCode: time 2.184e-06/0.1998, allocations: 4 kB / 0.7063 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of Templates: time 0.009663/0.2095, allocations: 4.977 MB / 0.7112 GB, free: 1.387 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)