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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009743/0.0009743, 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.001156/0.001156, 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.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.045/1.045, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 83.42 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001689/0.1667, allocations: 1.175 MB / 0.5985 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.1676, allocations: 404.1 kB / 0.5989 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.1677, allocations: 0 / 0.5989 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.1678, allocations: 3.938 kB / 0.5989 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1679, allocations: 27.89 kB / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.1686, allocations: 210.5 kB / 0.5991 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1688, allocations: 155.7 kB / 0.5993 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.1688, allocations: 7.984 kB / 0.5993 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.1691, allocations: 171.6 kB / 0.5994 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.1693, allocations: 127.7 kB / 0.5996 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.1694, allocations: 16 kB / 0.5996 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.1694, allocations: 8 kB / 0.5996 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1696, allocations: 75.78 kB / 0.5997 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.1696, allocations: 69.58 kB / 0.5997 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1699, allocations: 215.8 kB / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1699, allocations: 0 / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1699, allocations: 0 / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1699, allocations: 0 / 0.5999 GB, free: 5.137 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.000935/0.1708, allocations: 0.6643 MB / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1709, allocations: 12.03 kB / 0.6006 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.171, allocations: 34.55 kB / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.1711, allocations: 35.67 kB / 0.6007 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1714, allocations: 258.4 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.1715, allocations: 12 kB / 0.6009 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.1715, allocations: 16 kB / 0.6009 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009466/0.1725, allocations: 213.4 kB / 0.6011 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1725, allocations: 0 / 0.6011 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1725, allocations: 4 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.1725, allocations: 3.984 kB / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.1733, allocations: 103.9 kB / 0.6012 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1737, allocations: 329.3 kB / 0.6016 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1747, allocations: 186.4 kB / 0.6017 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1748, allocations: 7.984 kB / 0.6017 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008983/0.1757, allocations: 219.1 kB / 0.6019 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.1757, allocations: 0 / 0.6019 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002464/0.1781, allocations: 481 kB / 0.6024 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1782, allocations: 59.39 kB / 0.6025 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.1785, allocations: 287 kB / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.1786, allocations: 41.7 kB / 0.6028 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1787, allocations: 97.03 kB / 0.6029 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.1787, allocations: 39.53 kB / 0.6029 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1787, allocations: 8 kB / 0.6029 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1789, allocations: 326.8 kB / 0.6032 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.179, allocations: 79.95 kB / 0.6033 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1793, allocations: 141.9 kB / 0.6034 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1795, allocations: 151.2 kB / 0.6036 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.1796, allocations: 4 kB / 0.6036 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006768/0.1802, allocations: 388.8 kB / 0.604 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.192e-05/0.1803, allocations: 71.39 kB / 0.604 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.1804, allocations: 4 kB / 0.604 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1804, allocations: 0 / 0.604 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.1806, allocations: 31.91 kB / 0.6041 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1806, allocations: 7.984 kB / 0.6041 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.1811, allocations: 63.89 kB / 0.6041 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.1811, allocations: 39.98 kB / 0.6042 GB, free: 484 kB / 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.0001932/0.1813, allocations: 170.3 kB / 0.6043 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.1814, allocations: 35.58 kB / 0.6044 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.1814, allocations: 26.3 kB / 0.6044 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1814, allocations: 4 kB / 0.6044 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1815, allocations: 7.984 kB / 0.6044 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1815, allocations: 0 / 0.6044 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3255/0.507, allocations: 0.708 MB / 0.6051 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.507, allocations: 0 / 0.6051 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.5071, allocations: 3.438 kB / 0.6051 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5071, allocations: 3.688 kB / 0.6051 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.5071, allocations: 19.17 kB / 0.6051 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5071, allocations: 4.016 kB / 0.6051 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5071, allocations: 0 / 0.6051 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.5087, allocations: 473.6 kB / 0.6056 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.5089, allocations: 161.6 kB / 0.6057 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.5089, allocations: 13.16 kB / 0.6057 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.5094, allocations: 37.05 kB / 0.6058 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.5094, allocations: 13.89 kB / 0.6058 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.5095, allocations: 39.8 kB / 0.6058 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001709/0.5097, allocations: 206.7 kB / 0.606 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5097, allocations: 0 / 0.606 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003761/0.5101, allocations: 49.23 kB / 0.6061 GB, free: 40.06 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.001842/0.5119, allocations: 1.015 MB / 0.6071 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.5131, allocations: 384 kB / 0.6074 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5131, allocations: 0 / 0.6074 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.5138, allocations: 131.8 kB / 0.6075 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.5141, allocations: 17.02 kB / 0.6076 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.5157, allocations: 1.662 MB / 0.6092 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.5159, allocations: 0.7504 MB / 0.6099 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.842e-05/0.516, allocations: 11.91 kB / 0.6099 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.5161, allocations: 26.53 kB / 0.61 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.5161, allocations: 0 / 0.61 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.5308, allocations: 4.513 MB / 0.6144 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.5311, allocations: 195.6 kB / 0.6146 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.426, allocations: 0 / 0.6146 GB, free: 36.58 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: