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.001382/0.001382, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001482/0.001482, allocations: 187 kB / 17.34 MB, free: 5.754 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 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.9247/0.9247, allocations: 143.1 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.77 kB / 0.5962 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 82.05 MB / 0.6763 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002724/0.1567, allocations: 1.481 MB / 0.6777 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.1577, allocations: 433.9 kB / 0.6781 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1578, allocations: 0 / 0.6781 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1579, allocations: 7.875 kB / 0.6782 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.158, allocations: 28.22 kB / 0.6782 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007637/0.1588, allocations: 246.7 kB / 0.6784 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.1592, allocations: 335.5 kB / 0.6787 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1593, allocations: 4 kB / 0.6787 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.1596, allocations: 199.8 kB / 0.6789 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.16, allocations: 124 kB / 0.6791 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.16, allocations: 20 kB / 0.6791 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.1601, allocations: 20 kB / 0.6791 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1602, allocations: 75.78 kB / 0.6792 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1604, allocations: 123.4 kB / 0.6793 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.1607, allocations: 307 kB / 0.6796 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1607, allocations: 0 / 0.6796 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1607, allocations: 0 / 0.6796 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.1608, allocations: 0 / 0.6796 GB, free: 7.109 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.001169/0.1619, allocations: 0.7408 MB / 0.6803 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.162, allocations: 12.02 kB / 0.6803 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.1621, allocations: 40.56 kB / 0.6803 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1624, allocations: 255.7 kB / 0.6806 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.1625, allocations: 20.3 kB / 0.6806 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.1626, allocations: 23.94 kB / 0.6806 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1636, allocations: 201.4 kB / 0.6808 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1636, allocations: 3.938 kB / 0.6808 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1636, allocations: 3.938 kB / 0.6808 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1636, allocations: 4 kB / 0.6808 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.1644, allocations: 99.92 kB / 0.6809 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1648, allocations: 313.4 kB / 0.6812 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1658, allocations: 170.4 kB / 0.6814 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.1666, allocations: 104.8 kB / 0.6815 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1666, allocations: 12 kB / 0.6815 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000967/0.1676, allocations: 211.1 kB / 0.6817 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.384e-06/0.1676, allocations: 0 / 0.6817 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002476/0.1701, allocations: 448.5 kB / 0.6821 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1702, allocations: 63.39 kB / 0.6822 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1705, allocations: 295 kB / 0.6825 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.1705, allocations: 33.7 kB / 0.6825 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.1706, allocations: 93.12 kB / 0.6826 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.1707, allocations: 43.44 kB / 0.6826 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.1709, allocations: 97.48 kB / 0.6827 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.171, allocations: 322.8 kB / 0.683 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.1712, allocations: 75.95 kB / 0.6831 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1714, allocations: 143.5 kB / 0.6832 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1717, allocations: 237.2 kB / 0.6835 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1717, allocations: 7.938 kB / 0.6835 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006167/0.1723, allocations: 386.4 kB / 0.6838 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.31e-05/0.1724, allocations: 75.38 kB / 0.6839 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1724, allocations: 4 kB / 0.6839 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1724, allocations: 0 / 0.6839 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1726, allocations: 23.92 kB / 0.6839 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1726, allocations: 4.188 kB / 0.684 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.1731, allocations: 59.77 kB / 0.684 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.1732, allocations: 43.98 kB / 0.684 GB, free: 2.188 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.000196/0.1734, allocations: 179.8 kB / 0.6842 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.1735, allocations: 23.72 kB / 0.6842 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.1735, allocations: 30.3 kB / 0.6843 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1735, allocations: 4 kB / 0.6843 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1735, allocations: 0 / 0.6843 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1735, allocations: 0 / 0.6843 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.1757, allocations: 0.6858 MB / 0.6849 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1757, allocations: 3.984 kB / 0.685 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.1757, allocations: 7.938 kB / 0.685 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1757, allocations: 0 / 0.685 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.1758, allocations: 23.91 kB / 0.685 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1758, allocations: 4 kB / 0.685 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1758, allocations: 4 kB / 0.685 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.1775, allocations: 443.4 kB / 0.6854 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.1777, allocations: 164.7 kB / 0.6856 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.1778, allocations: 12 kB / 0.6856 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.1782, allocations: 31.97 kB / 0.6856 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1783, allocations: 11.98 kB / 0.6856 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.1784, allocations: 43.91 kB / 0.6857 GB, free: 440 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001885/0.1786, allocations: 209.9 kB / 0.6859 GB, free: 232 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.382e-06/0.1786, allocations: 0 / 0.6859 GB, free: 232 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003628/0.1789, allocations: 51.94 kB / 0.6859 GB, free: 180 kB / 0.5137 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.0001442/0.1791, allocations: 115.2 kB / 0.686 GB, free: 52 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.1803, allocations: 382.1 kB / 0.6864 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1803, allocations: 0 / 0.6864 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.1811, allocations: 107.9 kB / 0.6865 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1815, allocations: 33 kB / 0.6865 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1829, allocations: 469.5 kB / 0.687 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1832, allocations: 0.7481 MB / 0.6877 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.1832, allocations: 15.44 kB / 0.6877 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.1832, allocations: 0 / 0.6877 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.005061/0.1883, allocations: 2.849 MB / 0.6905 GB, free: 11.41 MB / 0.5294 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)