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.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.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.0009638/0.0009638, allocations: 99.86 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.0009102/0.0009103, 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.322/1.322, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9598/0.9598, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 83.41 MB / 0.5973 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001657/0.1623, allocations: 1.178 MB / 0.5984 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.1631, allocations: 399.1 kB / 0.5988 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.1632, allocations: 0 / 0.5988 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.1633, allocations: 3.938 kB / 0.5988 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.67e-05/0.1634, allocations: 23.91 kB / 0.5988 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.1641, allocations: 218.9 kB / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.1643, allocations: 155.7 kB / 0.5992 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.1644, allocations: 11.98 kB / 0.5992 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.1647, allocations: 167.6 kB / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1649, allocations: 127.7 kB / 0.5995 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.165, allocations: 12 kB / 0.5995 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.165, allocations: 8 kB / 0.5995 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1651, allocations: 79.78 kB / 0.5996 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.1652, allocations: 73.58 kB / 0.5996 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1655, allocations: 211.8 kB / 0.5998 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1655, allocations: 0 / 0.5998 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1655, allocations: 0 / 0.5998 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1655, allocations: 0 / 0.5998 GB, free: 5.238 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.0009199/0.1664, allocations: 0.6643 MB / 0.6005 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1665, allocations: 12.03 kB / 0.6005 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.1666, allocations: 31.67 kB / 0.6005 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.1669, allocations: 258.5 kB / 0.6008 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.167, allocations: 15.94 kB / 0.6008 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.167, allocations: 19.98 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/0.168, allocations: 205.5 kB / 0.601 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.168, allocations: 4 kB / 0.601 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.168, allocations: 4 kB / 0.601 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.168, allocations: 0 / 0.601 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.1688, allocations: 107.9 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.1692, allocations: 321.3 kB / 0.6014 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1702, allocations: 194.4 kB / 0.6016 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1702, allocations: 0 / 0.6016 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009022/0.1711, allocations: 219.1 kB / 0.6018 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1711, allocations: 0 / 0.6018 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002852/0.174, allocations: 481 kB / 0.6023 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.1741, allocations: 59.41 kB / 0.6023 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1743, allocations: 294.8 kB / 0.6026 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.1744, allocations: 37.7 kB / 0.6027 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.1745, allocations: 93.05 kB / 0.6027 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1745, allocations: 35.55 kB / 0.6028 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.1746, allocations: 8 kB / 0.6028 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1747, allocations: 330.8 kB / 0.6031 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1749, allocations: 83.94 kB / 0.6032 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1751, allocations: 129.9 kB / 0.6033 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.1753, allocations: 151.4 kB / 0.6035 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1753, allocations: 0 / 0.6035 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006531/0.176, allocations: 399 kB / 0.6038 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.1761, allocations: 81.41 kB / 0.6039 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.1761, allocations: 0 / 0.6039 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1761, allocations: 4 kB / 0.6039 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.1763, allocations: 24.11 kB / 0.6039 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1763, allocations: 4 kB / 0.6039 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.1768, allocations: 59.86 kB / 0.604 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.1769, allocations: 43.98 kB / 0.604 GB, free: 0.6328 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.0002151/0.1771, allocations: 179.9 kB / 0.6042 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.1772, allocations: 31.58 kB / 0.6042 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.1773, allocations: 30.3 kB / 0.6043 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1773, allocations: 0 / 0.6043 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1773, allocations: 0 / 0.6043 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1773, allocations: 4 kB / 0.6043 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2639/0.4412, allocations: 0.7062 MB / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.4413, allocations: 3.281 kB / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.4413, allocations: 9.812 kB / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4413, allocations: 0 / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.4414, allocations: 20.8 kB / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4414, allocations: 0 / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4414, allocations: 0.8594 kB / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4429, allocations: 463.9 kB / 0.6054 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.4431, allocations: 162.1 kB / 0.6056 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.4432, allocations: 14.23 kB / 0.6056 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.4437, allocations: 33.2 kB / 0.6056 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.4437, allocations: 17.31 kB / 0.6057 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.4437, allocations: 40.44 kB / 0.6057 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001609/0.4439, allocations: 208.6 kB / 0.6059 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4439, allocations: 3.844 kB / 0.6059 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000369/0.4443, allocations: 52.3 kB / 0.6059 GB, free: 40.65 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.0001321/0.4444, allocations: 116.3 kB / 0.6061 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.4455, allocations: 392 kB / 0.6064 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4455, allocations: 5.625 kB / 0.6064 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/0.4462, allocations: 119.5 kB / 0.6066 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4465, allocations: 22.72 kB / 0.6066 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4476, allocations: 0.496 MB / 0.6071 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.4478, allocations: 0.7455 MB / 0.6078 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.4479, allocations: 11.72 kB / 0.6078 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.4479, allocations: 19.86 kB / 0.6078 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.4479, allocations: 0.75 kB / 0.6078 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.005586/0.4535, allocations: 3.5 MB / 0.6112 GB, free: 39.23 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: