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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.0009091/0.0009094, allocations: 99.39 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.0009667/0.0009668, allocations: 177.3 kB / 15.94 MB, free: 228 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.398/1.398, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.102/1.102, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 83.41 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001865/0.1841, allocations: 1.182 MB / 0.5985 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1854, allocations: 401.1 kB / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.1855, allocations: 4 kB / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.1856, allocations: 3.938 kB / 0.5989 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.1857, allocations: 23.95 kB / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.1864, allocations: 211.1 kB / 0.5991 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.1867, allocations: 159.7 kB / 0.5993 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.544e-05/0.1868, allocations: 11.98 kB / 0.5993 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.1872, allocations: 167.6 kB / 0.5994 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.1875, allocations: 127.7 kB / 0.5996 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.1876, allocations: 12 kB / 0.5996 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.1876, allocations: 8 kB / 0.5996 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1877, allocations: 79.78 kB / 0.5997 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1879, allocations: 65.58 kB / 0.5997 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1881, allocations: 215.8 kB / 0.5999 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1882, allocations: 8 kB / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1882, allocations: 0 / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1882, 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.001068/0.1893, allocations: 0.6666 MB / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1893, allocations: 8.031 kB / 0.6006 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.1894, allocations: 38.56 kB / 0.6006 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.1894, allocations: 35.66 kB / 0.6007 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1898, allocations: 254.4 kB / 0.6009 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.1899, allocations: 16 kB / 0.6009 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.1899, allocations: 20 kB / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.1909, allocations: 209.4 kB / 0.6011 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1909, allocations: 0 / 0.6011 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.1909, allocations: 4 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1909, allocations: 0 / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.1917, allocations: 111.8 kB / 0.6012 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1921, allocations: 325.4 kB / 0.6016 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1931, allocations: 178.5 kB / 0.6017 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1931, allocations: 4 kB / 0.6017 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009281/0.1941, allocations: 223.1 kB / 0.6019 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.724e-06/0.1941, allocations: 0 / 0.6019 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002445/0.1965, allocations: 483.8 kB / 0.6024 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.1966, allocations: 71.31 kB / 0.6025 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1969, allocations: 286.9 kB / 0.6027 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.197, allocations: 37.7 kB / 0.6028 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.197, allocations: 93.12 kB / 0.6029 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.1971, allocations: 39.55 kB / 0.6029 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.1971, allocations: 8 kB / 0.6029 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1973, allocations: 326.8 kB / 0.6032 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1974, allocations: 79.95 kB / 0.6033 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.1977, allocations: 138.6 kB / 0.6034 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.1979, allocations: 155.3 kB / 0.6036 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1979, allocations: 0 / 0.6036 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007092/0.1987, allocations: 388.7 kB / 0.604 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.1987, allocations: 71.39 kB / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1988, allocations: 0 / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1988, allocations: 4 kB / 0.604 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1989, allocations: 31.91 kB / 0.6041 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.199, allocations: 4.188 kB / 0.6041 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.1994, allocations: 63.86 kB / 0.6041 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.1995, allocations: 39.98 kB / 0.6042 GB, free: 496 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.0001969/0.1997, allocations: 179.9 kB / 0.6043 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.1998, allocations: 27.62 kB / 0.6044 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.1998, allocations: 30.3 kB / 0.6044 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1998, allocations: 0 / 0.6044 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1999, allocations: 0 / 0.6044 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1999, allocations: 3.984 kB / 0.6044 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3131/0.513, allocations: 0.7043 MB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.513, allocations: 3.422 kB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.5131, allocations: 8.172 kB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.5131, allocations: 1.156 kB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.5131, allocations: 20.33 kB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5131, allocations: 3.031 kB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5132, allocations: 1.75 kB / 0.6051 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5147, allocations: 464.3 kB / 0.6056 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.5149, allocations: 165.6 kB / 0.6057 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.515, allocations: 9.438 kB / 0.6057 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.5154, allocations: 42.77 kB / 0.6058 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.5155, allocations: 9.266 kB / 0.6058 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.5155, allocations: 42.95 kB / 0.6058 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001541/0.5157, allocations: 206.1 kB / 0.606 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5157, allocations: 0 / 0.606 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003596/0.516, allocations: 50.58 kB / 0.6061 GB, free: 40.47 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.001708/0.5178, allocations: 1.007 MB / 0.607 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.5189, allocations: 393.2 kB / 0.6074 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5189, allocations: 0 / 0.6074 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006998/0.5196, allocations: 128.5 kB / 0.6075 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5198, allocations: 20.3 kB / 0.6076 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5214, allocations: 1.664 MB / 0.6092 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.5216, allocations: 0.7465 MB / 0.6099 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.386e-05/0.5216, allocations: 14.34 kB / 0.6099 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.5217, allocations: 23.23 kB / 0.61 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.5217, allocations: 0 / 0.61 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.5581, allocations: 4.529 MB / 0.6144 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.5583, allocations: 199 kB / 0.6146 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.373, allocations: 0 / 0.6146 GB, free: 37.02 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: