Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.008619/0.008619, allocations: 99.44 kB / 15.73 MB, free: 6.062 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.001825/0.001826, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9421/0.9421, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 73.2 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 82.03 MB / 0.6756 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002641/0.1669, allocations: 1.49 MB / 0.6771 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009668/0.1679, allocations: 433.1 kB / 0.6775 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.168, allocations: 0 / 0.6775 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.1681, allocations: 15.86 kB / 0.6775 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1682, allocations: 20.23 kB / 0.6775 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.169, allocations: 242.5 kB / 0.6777 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.1694, allocations: 331.5 kB / 0.6781 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.1694, allocations: 8 kB / 0.6781 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.1697, allocations: 195.7 kB / 0.6782 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.1701, allocations: 120 kB / 0.6784 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.1702, allocations: 16 kB / 0.6784 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.1703, allocations: 24 kB / 0.6784 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1704, allocations: 79.78 kB / 0.6785 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1705, allocations: 123.4 kB / 0.6786 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.1709, allocations: 302.8 kB / 0.6789 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1709, allocations: 0 / 0.6789 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1709, allocations: 3.938 kB / 0.6789 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.1709, allocations: 4 kB / 0.6789 GB, free: 6.938 MB / 0.5137 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.001213/0.1721, allocations: 0.75 MB / 0.6796 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1722, allocations: 12.03 kB / 0.6796 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.1723, allocations: 32.8 kB / 0.6797 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1726, allocations: 267.8 kB / 0.6799 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.1726, allocations: 12.31 kB / 0.6799 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.1727, allocations: 23.94 kB / 0.68 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009168/0.1736, allocations: 205.4 kB / 0.6802 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1736, allocations: 0 / 0.6802 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1736, allocations: 8 kB / 0.6802 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1736, allocations: 0 / 0.6802 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.1744, allocations: 95.92 kB / 0.6803 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.1747, allocations: 317.4 kB / 0.6806 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.1757, allocations: 178.3 kB / 0.6807 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.1764, allocations: 108.8 kB / 0.6808 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1765, allocations: 0 / 0.6808 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008751/0.1773, allocations: 215.1 kB / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.1773, allocations: 0 / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.00243/0.1798, allocations: 451.7 kB / 0.6815 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1798, allocations: 63.39 kB / 0.6815 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1801, allocations: 290.9 kB / 0.6818 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.1802, allocations: 37.7 kB / 0.6818 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.1802, allocations: 97.12 kB / 0.6819 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.1803, allocations: 39.73 kB / 0.682 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1804, allocations: 97.58 kB / 0.6821 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1806, allocations: 318.8 kB / 0.6824 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1807, allocations: 79.95 kB / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.181, allocations: 139.4 kB / 0.6826 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.1813, allocations: 242.5 kB / 0.6828 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.1813, allocations: 7.938 kB / 0.6828 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006177/0.1819, allocations: 390.8 kB / 0.6832 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.182, allocations: 75.38 kB / 0.6833 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1821, allocations: 0 / 0.6833 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1821, allocations: 4 kB / 0.6833 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1823, allocations: 27.92 kB / 0.6833 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1823, allocations: 0 / 0.6833 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.1827, allocations: 52.09 kB / 0.6833 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.1828, allocations: 43.98 kB / 0.6834 GB, free: 2.004 MB / 0.5137 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.00017/0.1829, allocations: 171.9 kB / 0.6835 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.183, allocations: 23.86 kB / 0.6836 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.1831, allocations: 30.3 kB / 0.6836 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1831, allocations: 3.938 kB / 0.6836 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1831, allocations: 4 kB / 0.6836 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1831, allocations: 4 kB / 0.6836 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.1851, allocations: 0.6897 MB / 0.6843 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1851, allocations: 0 / 0.6843 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.1851, allocations: 12 kB / 0.6843 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1851, allocations: 0 / 0.6843 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.1852, allocations: 19.91 kB / 0.6843 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1852, allocations: 0 / 0.6843 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1852, allocations: 0 / 0.6843 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.1869, allocations: 458.8 kB / 0.6847 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.1871, allocations: 164.8 kB / 0.6849 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.1872, allocations: 8 kB / 0.6849 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.1876, allocations: 31.97 kB / 0.6849 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.1877, allocations: 15.97 kB / 0.685 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/0.1878, allocations: 51.91 kB / 0.685 GB, free: 240 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001947/0.188, allocations: 209.9 kB / 0.6852 GB, free: 32 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.188, allocations: 0 / 0.6852 GB, free: 32 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003535/0.1883, allocations: 48.05 kB / 0.6853 GB, free: 15.98 MB / 0.5294 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.0001635/0.1885, allocations: 117 kB / 0.6854 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.1896, allocations: 378.5 kB / 0.6857 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1896, allocations: 4 kB / 0.6857 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.1904, allocations: 119.8 kB / 0.6858 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1907, allocations: 24.62 kB / 0.6859 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1921, allocations: 432 kB / 0.6863 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1924, allocations: 0.7396 MB / 0.687 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.727e-05/0.1925, allocations: 13.08 kB / 0.687 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1926, allocations: 15.44 kB / 0.687 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1926, allocations: 0 / 0.687 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.007488/0.2001, allocations: 3.657 MB / 0.6906 GB, free: 10.46 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)