Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00109/0.00109, 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.001111/0.001111, allocations: 196.4 kB / 16.79 MB, free: 6.809 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.316/1.316, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.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.9694/0.9694, allocations: 143 MB / 433.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1667, allocations: 82.03 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002736/0.1694, allocations: 1.552 MB / 0.5958 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.1704, allocations: 449 kB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.1705, allocations: 4 kB / 0.5962 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.1706, allocations: 7.922 kB / 0.5962 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.638e-05/0.1707, allocations: 16.3 kB / 0.5962 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.1714, allocations: 233.3 kB / 0.5964 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.1717, allocations: 295.9 kB / 0.5967 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.1717, allocations: 8 kB / 0.5967 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.172, allocations: 222.3 kB / 0.5969 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1722, allocations: 123.6 kB / 0.5971 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.1723, allocations: 12 kB / 0.5971 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.1724, allocations: 8 kB / 0.5971 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1725, allocations: 83.75 kB / 0.5972 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1727, allocations: 123.3 kB / 0.5973 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1729, allocations: 219.9 kB / 0.5975 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1729, allocations: 0 / 0.5975 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1729, allocations: 4 kB / 0.5975 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1729, allocations: 0 / 0.5975 GB, free: 6.738 MB / 0.4981 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.001104/0.174, allocations: 0.7421 MB / 0.5982 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1741, allocations: 8.031 kB / 0.5982 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1742, allocations: 35.7 kB / 0.5983 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1745, allocations: 262.2 kB / 0.5985 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.1746, allocations: 19.94 kB / 0.5985 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.1746, allocations: 16 kB / 0.5985 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.1757, allocations: 201.4 kB / 0.5987 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1757, allocations: 0 / 0.5987 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.1757, allocations: 0 / 0.5987 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1757, allocations: 4 kB / 0.5987 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.1765, allocations: 106.2 kB / 0.5988 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1769, allocations: 325.2 kB / 0.5992 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.178, allocations: 178.3 kB / 0.5993 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/0.1788, allocations: 108.8 kB / 0.5994 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1788, allocations: 7.984 kB / 0.5994 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.1798, allocations: 207.2 kB / 0.5996 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.1798, allocations: 0 / 0.5996 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002633/0.1825, allocations: 445 kB / 0.6001 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1825, allocations: 63.34 kB / 0.6001 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.1828, allocations: 294.8 kB / 0.6004 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.1829, allocations: 41.69 kB / 0.6004 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.183, allocations: 89.14 kB / 0.6005 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.183, allocations: 43.53 kB / 0.6006 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.1832, allocations: 97.48 kB / 0.6007 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1833, allocations: 322.8 kB / 0.601 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1835, allocations: 83.94 kB / 0.601 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1838, allocations: 130 kB / 0.6012 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.1841, allocations: 241.2 kB / 0.6014 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1841, allocations: 0 / 0.6014 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006628/0.1848, allocations: 398.8 kB / 0.6018 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.1849, allocations: 75.39 kB / 0.6018 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.1849, allocations: 4 kB / 0.6019 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1849, allocations: 8 kB / 0.6019 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1851, allocations: 23.91 kB / 0.6019 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1851, allocations: 4 kB / 0.6019 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.1856, allocations: 55.8 kB / 0.6019 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.1857, allocations: 44.05 kB / 0.602 GB, free: 1.797 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.0001876/0.1859, allocations: 167.9 kB / 0.6021 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.1859, allocations: 23.72 kB / 0.6022 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.186, allocations: 34.3 kB / 0.6022 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.186, allocations: 0 / 0.6022 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.186, allocations: 0 / 0.6022 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.186, allocations: 7.922 kB / 0.6022 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.1882, allocations: 0.6916 MB / 0.6029 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1882, allocations: 0 / 0.6029 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.1883, allocations: 7.984 kB / 0.6029 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1883, allocations: 7.938 kB / 0.6029 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1883, allocations: 15.98 kB / 0.6029 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1883, allocations: 0 / 0.6029 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1883, allocations: 0 / 0.6029 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.1901, allocations: 443 kB / 0.6033 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.1903, allocations: 168.6 kB / 0.6035 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.1904, allocations: 15.92 kB / 0.6035 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.1908, allocations: 35.91 kB / 0.6035 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1909, allocations: 7.984 kB / 0.6036 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.1909, allocations: 43.97 kB / 0.6036 GB, free: 48 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2761/0.467, allocations: 204.7 kB / 0.6038 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4671, allocations: 2.062 kB / 0.6038 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005453/0.4676, allocations: 49.44 kB / 0.6038 GB, free: 44.11 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.0001596/0.4678, allocations: 117.9 kB / 0.604 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.469, allocations: 378.9 kB / 0.6043 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.469, allocations: 1.031 kB / 0.6043 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.4698, allocations: 117.9 kB / 0.6044 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.4702, allocations: 20.16 kB / 0.6044 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4715, allocations: 0.5365 MB / 0.605 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.4716, allocations: 0.7425 MB / 0.6057 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.4717, allocations: 14.59 kB / 0.6057 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.4717, allocations: 0 / 0.6057 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.004176/0.4759, allocations: 2.829 MB / 0.6085 GB, free: 42.77 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)