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.0008319/0.000832, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0008699/0.0008699, allocations: 168.7 kB / 15.95 MB, free: 204 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.382/1.382, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.072/1.072, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003573, allocations: 11.98 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001639/0.1758, allocations: 1.182 MB / 0.5987 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.1767, allocations: 419.1 kB / 0.5991 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.1768, allocations: 0 / 0.5991 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.504e-05/0.1769, allocations: 7.922 kB / 0.5991 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.177, allocations: 19.92 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.1776, allocations: 218.5 kB / 0.5993 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.1779, allocations: 247.5 kB / 0.5995 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.178, allocations: 7.984 kB / 0.5996 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.1783, allocations: 227.6 kB / 0.5998 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1786, allocations: 139.7 kB / 0.5999 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.1787, allocations: 12 kB / 0.5999 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.1787, allocations: 8 kB / 0.5999 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1788, allocations: 83.77 kB / 0.6 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.1789, allocations: 65.58 kB / 0.6001 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1791, allocations: 219.8 kB / 0.6003 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1791, allocations: 4 kB / 0.6003 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1791, allocations: 0 / 0.6003 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.1791, allocations: 0 / 0.6003 GB, free: 4.871 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.0008713/0.18, allocations: 0.6605 MB / 0.6009 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1801, allocations: 11.97 kB / 0.6009 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.1801, allocations: 46.48 kB / 0.601 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.1802, allocations: 31.67 kB / 0.601 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1805, allocations: 254.5 kB / 0.6013 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.1805, allocations: 12 kB / 0.6013 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.1806, allocations: 23.98 kB / 0.6013 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.1814, allocations: 209.5 kB / 0.6015 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1814, allocations: 0 / 0.6015 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1815, allocations: 3.984 kB / 0.6015 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1815, allocations: 0 / 0.6015 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.1821, allocations: 111.9 kB / 0.6016 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.1825, allocations: 325.3 kB / 0.6019 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/0.1833, allocations: 186.5 kB / 0.6021 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006303/0.184, allocations: 116.8 kB / 0.6022 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.184, allocations: 0 / 0.6022 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008057/0.1848, allocations: 239 kB / 0.6024 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1848, allocations: 0 / 0.6024 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.00212/0.1869, allocations: 473 kB / 0.6029 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.187, allocations: 59.39 kB / 0.6029 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1873, allocations: 290.9 kB / 0.6032 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.1873, allocations: 37.7 kB / 0.6032 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.1874, allocations: 89.14 kB / 0.6033 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.1875, allocations: 39.59 kB / 0.6034 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1875, allocations: 8 kB / 0.6034 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1876, allocations: 326.8 kB / 0.6037 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1878, allocations: 83.94 kB / 0.6038 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.188, allocations: 141.5 kB / 0.6039 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.1882, allocations: 151.4 kB / 0.604 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1882, allocations: 4 kB / 0.6041 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005956/0.1888, allocations: 387.3 kB / 0.6044 GB, free: 328 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.1889, allocations: 75.39 kB / 0.6045 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1889, allocations: 8.188 kB / 0.6045 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1889, allocations: 4 kB / 0.6045 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1891, allocations: 19.92 kB / 0.6045 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1891, allocations: 4 kB / 0.6045 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.1896, allocations: 71.73 kB / 0.6046 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.1896, allocations: 39.98 kB / 0.6046 GB, free: 92 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.3306/0.5202, allocations: 172 kB / 0.6048 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.5203, allocations: 28.86 kB / 0.6048 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.5203, allocations: 29.47 kB / 0.6049 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5204, allocations: 0 / 0.6049 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5204, allocations: 2.609 kB / 0.6049 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5204, allocations: 1.188 kB / 0.6049 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.5223, allocations: 0.7099 MB / 0.6056 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5223, allocations: 2.406 kB / 0.6056 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.5223, allocations: 9.625 kB / 0.6056 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5224, allocations: 2.625 kB / 0.6056 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.5224, allocations: 14.73 kB / 0.6056 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5224, allocations: 1.219 kB / 0.6056 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5224, allocations: 1.109 kB / 0.6056 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.5238, allocations: 469.8 kB / 0.606 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.5239, allocations: 162.2 kB / 0.6062 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.524, allocations: 13.09 kB / 0.6062 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.5244, allocations: 39.09 kB / 0.6062 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.5244, allocations: 17.77 kB / 0.6063 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.5245, allocations: 38.64 kB / 0.6063 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001957/0.5247, allocations: 207.2 kB / 0.6065 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.514e-06/0.5247, allocations: 0 / 0.6065 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003814/0.5251, allocations: 56.89 kB / 0.6065 GB, free: 39.77 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.001654/0.5267, allocations: 1.006 MB / 0.6075 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.5278, allocations: 394 kB / 0.6079 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5278, allocations: 0 / 0.6079 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006164/0.5284, allocations: 130.8 kB / 0.608 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.5288, allocations: 27.11 kB / 0.608 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.5308, allocations: 1.185 MB / 0.6092 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.531, allocations: 0.7477 MB / 0.6099 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.598e-05/0.5311, allocations: 10.38 kB / 0.6099 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.5311, allocations: 24.14 kB / 0.61 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5312, allocations: 0 / 0.61 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.5472, allocations: 4.547 MB / 0.6144 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001235/0.5474, allocations: 201.9 kB / 0.6146 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.297, allocations: 0 / 0.6146 GB, free: 37.13 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: