Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009576/0.0009577, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001026/0.001026, allocations: 177.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.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9573/0.9573, allocations: 143.3 MB / 434.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004175, allocations: 8 kB / 0.5158 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 83.42 MB / 0.5973 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001648/0.1486, allocations: 1.174 MB / 0.5984 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009032/0.1495, allocations: 399.2 kB / 0.5988 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.1496, allocations: 3.938 kB / 0.5988 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.1497, allocations: 0 / 0.5988 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1498, allocations: 27.89 kB / 0.5988 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.1505, allocations: 210.8 kB / 0.599 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1507, allocations: 155.7 kB / 0.5992 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.1508, allocations: 4 kB / 0.5992 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.1511, allocations: 175.5 kB / 0.5994 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1513, allocations: 127.7 kB / 0.5995 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.1514, allocations: 12 kB / 0.5995 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.1514, allocations: 8 kB / 0.5995 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.1515, allocations: 83.78 kB / 0.5996 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.1516, allocations: 69.58 kB / 0.5996 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1518, allocations: 215.8 kB / 0.5998 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1518, allocations: 0 / 0.5998 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1518, allocations: 0 / 0.5998 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.1518, allocations: 0 / 0.5998 GB, free: 5.281 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.0009009/0.1528, allocations: 0.6604 MB / 0.6005 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1528, allocations: 8.031 kB / 0.6005 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.1529, allocations: 39.67 kB / 0.6005 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1533, allocations: 262.4 kB / 0.6008 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.1533, allocations: 12 kB / 0.6008 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.1534, allocations: 19.98 kB / 0.6008 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/0.1543, allocations: 209.5 kB / 0.601 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1544, allocations: 0 / 0.601 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.1544, allocations: 4 kB / 0.601 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1544, allocations: 0 / 0.601 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.1551, allocations: 111.9 kB / 0.6011 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1555, allocations: 313.3 kB / 0.6014 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1565, allocations: 194.4 kB / 0.6016 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1565, allocations: 4 kB / 0.6016 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008951/0.1574, allocations: 219.1 kB / 0.6018 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.1575, allocations: 0 / 0.6018 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002379/0.1598, allocations: 479.8 kB / 0.6023 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1599, allocations: 75.27 kB / 0.6024 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1602, allocations: 283 kB / 0.6026 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.1602, allocations: 41.69 kB / 0.6027 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1603, allocations: 93.05 kB / 0.6028 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.1603, allocations: 39.55 kB / 0.6028 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.1604, allocations: 8 kB / 0.6028 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1605, allocations: 326.8 kB / 0.6031 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1607, allocations: 79.94 kB / 0.6032 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1609, allocations: 130.7 kB / 0.6033 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.1611, allocations: 157.8 kB / 0.6035 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1611, allocations: 0 / 0.6035 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000603/0.1618, allocations: 396.6 kB / 0.6038 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/0.1618, allocations: 77.41 kB / 0.6039 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1618, allocations: 0 / 0.6039 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1619, allocations: 4.188 kB / 0.6039 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.162, allocations: 23.92 kB / 0.6039 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.162, allocations: 4 kB / 0.6039 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.1625, allocations: 59.86 kB / 0.604 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.1626, allocations: 43.98 kB / 0.604 GB, free: 0.6758 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.0001693/0.1627, allocations: 171.9 kB / 0.6042 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.1628, allocations: 35.56 kB / 0.6042 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.1628, allocations: 30.3 kB / 0.6043 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1628, allocations: 0 / 0.6043 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1629, allocations: 0 / 0.6043 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1629, allocations: 0 / 0.6043 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2654/0.4283, allocations: 0.7088 MB / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.4283, allocations: 3.047 kB / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.4284, allocations: 5.188 kB / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4284, allocations: 2.844 kB / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.4284, allocations: 19.52 kB / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4284, allocations: 0.5 kB / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4284, allocations: 0 / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.4301, allocations: 463.2 kB / 0.6054 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.4303, allocations: 164.6 kB / 0.6056 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.4304, allocations: 11.44 kB / 0.6056 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.4308, allocations: 38 kB / 0.6056 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.4309, allocations: 9.766 kB / 0.6056 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.4309, allocations: 43.05 kB / 0.6057 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001713/0.4311, allocations: 213.5 kB / 0.6059 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4311, allocations: 0 / 0.6059 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003691/0.4315, allocations: 52.17 kB / 0.6059 GB, free: 40.61 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.0001258/0.4316, allocations: 114.6 kB / 0.6061 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.4328, allocations: 386.2 kB / 0.6064 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4328, allocations: 0 / 0.6064 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007398/0.4335, allocations: 127.3 kB / 0.6065 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.4338, allocations: 24.52 kB / 0.6066 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.435, allocations: 0.4945 MB / 0.607 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.4352, allocations: 0.7507 MB / 0.6078 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.537e-05/0.4353, allocations: 11.38 kB / 0.6078 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.4353, allocations: 19.45 kB / 0.6078 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.4353, allocations: 0 / 0.6078 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.006354/0.4417, allocations: 3.501 MB / 0.6112 GB, free: 39.19 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: