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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.001204/0.001204, allocations: 96.02 kB / 15.05 MB, free: 1.109 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.001451/0.001451, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.968/0.968, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 11.98 kB / 0.5158 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1653, allocations: 83.4 MB / 0.5973 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001746/0.1671, allocations: 1.186 MB / 0.5984 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000889/0.168, allocations: 399.1 kB / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.1681, allocations: 0 / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.1681, allocations: 11.92 kB / 0.5988 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1683, allocations: 27.89 kB / 0.5988 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.169, allocations: 207.2 kB / 0.599 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1692, allocations: 155.7 kB / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.937e-05/0.1693, allocations: 4 kB / 0.5992 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.1696, allocations: 179.5 kB / 0.5994 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.1698, allocations: 131.7 kB / 0.5995 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.1699, allocations: 12 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.17, allocations: 8 kB / 0.5995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1701, allocations: 79.78 kB / 0.5996 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.1702, allocations: 69.56 kB / 0.5996 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1704, allocations: 219.8 kB / 0.5999 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1704, allocations: 0 / 0.5999 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1704, allocations: 0 / 0.5999 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1704, allocations: 0 / 0.5999 GB, free: 5.195 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.0009798/0.1714, allocations: 0.6604 MB / 0.6005 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1715, allocations: 8.031 kB / 0.6005 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1716, allocations: 39.66 kB / 0.6005 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.1719, allocations: 254.5 kB / 0.6008 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.172, allocations: 8 kB / 0.6008 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.172, allocations: 20 kB / 0.6008 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.173, allocations: 217.4 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.173, allocations: 0 / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1731, allocations: 0 / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1731, allocations: 0 / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.1738, allocations: 111.9 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.1742, allocations: 321.3 kB / 0.6014 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1752, allocations: 178.5 kB / 0.6016 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1753, allocations: 4 kB / 0.6016 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009181/0.1762, allocations: 231 kB / 0.6018 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.1762, allocations: 0 / 0.6018 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002444/0.1786, allocations: 476.6 kB / 0.6023 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1787, allocations: 67.39 kB / 0.6023 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.179, allocations: 287 kB / 0.6026 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.1791, allocations: 37.7 kB / 0.6027 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.1791, allocations: 97.03 kB / 0.6028 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.1792, allocations: 39.53 kB / 0.6028 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.1792, allocations: 8 kB / 0.6028 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1793, allocations: 326.7 kB / 0.6031 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.1795, allocations: 79.95 kB / 0.6032 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1797, allocations: 137.9 kB / 0.6033 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.18, allocations: 149.3 kB / 0.6035 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.18, allocations: 0 / 0.6035 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006325/0.1806, allocations: 404.6 kB / 0.6038 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/0.1807, allocations: 79.33 kB / 0.6039 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1807, allocations: 0 / 0.6039 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.1807, allocations: 4 kB / 0.6039 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1809, allocations: 19.97 kB / 0.6039 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1809, allocations: 11.92 kB / 0.604 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.1814, allocations: 64.02 kB / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.1815, allocations: 43.98 kB / 0.6041 GB, free: 0.582 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1817, allocations: 164 kB / 0.6042 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.1817, allocations: 31.58 kB / 0.6042 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1818, allocations: 34.23 kB / 0.6043 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1818, allocations: 4 kB / 0.6043 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1818, allocations: 3.984 kB / 0.6043 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1818, allocations: 3.984 kB / 0.6043 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2534/0.4352, allocations: 0.7009 MB / 0.605 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4353, allocations: 0 / 0.605 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.4353, allocations: 10.05 kB / 0.605 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4354, allocations: 6.031 kB / 0.605 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.4354, allocations: 15.94 kB / 0.605 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4354, allocations: 0.7812 kB / 0.605 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4354, allocations: 0 / 0.605 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.437, allocations: 465.3 kB / 0.6054 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.4371, allocations: 162.2 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.4372, allocations: 11.12 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.4377, allocations: 36.75 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.4377, allocations: 14 kB / 0.6057 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.4378, allocations: 40.48 kB / 0.6057 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001439/0.4379, allocations: 209.5 kB / 0.6059 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4379, allocations: 0 / 0.6059 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003443/0.4383, allocations: 48.09 kB / 0.6059 GB, free: 40.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.4384, allocations: 117.5 kB / 0.6061 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.4394, allocations: 394.8 kB / 0.6064 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4394, allocations: 3.812 kB / 0.6064 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.4401, allocations: 122.3 kB / 0.6066 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.4404, allocations: 19.94 kB / 0.6066 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4415, allocations: 499.8 kB / 0.607 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.4417, allocations: 0.7587 MB / 0.6078 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.4418, allocations: 6.719 kB / 0.6078 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.4418, allocations: 19.5 kB / 0.6078 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4418, allocations: 0 / 0.6078 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.005572/0.4474, allocations: 3.503 MB / 0.6112 GB, free: 39.29 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: