Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 173.6 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007424/0.0007425, allocations: 90.28 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 8.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1876, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001395/0.1891, allocations: 1.183 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006958/0.1898, allocations: 407.2 kB / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.1898, allocations: 3.938 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.156e-05/0.1899, allocations: 0 / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.19, allocations: 23.84 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1905, allocations: 218.3 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1907, allocations: 243.6 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1908, allocations: 11.94 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.191, allocations: 211.6 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1912, allocations: 127.7 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.1913, allocations: 12 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.1913, allocations: 12 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.1914, allocations: 83.77 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.1915, allocations: 69.58 kB / 0.9033 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1916, allocations: 203.8 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1916, allocations: 0 / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1916, allocations: 0 / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1916, allocations: 0 / 0.9035 GB, free: 61.11 MB / 0.6042 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.0009108/0.1926, allocations: 0.6258 MB / 0.9041 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1926, allocations: 8.031 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.1927, allocations: 35.62 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1929, allocations: 254.5 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.193, allocations: 12 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.193, allocations: 19.98 kB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.1933, allocations: 141.5 kB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1933, allocations: 0 / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1933, allocations: 8 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1933, allocations: 0 / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1935, allocations: 51.91 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.1937, allocations: 317.3 kB / 0.905 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.194, allocations: 126.7 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1941, allocations: 56.83 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1941, allocations: 0 / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.1945, allocations: 215.6 kB / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.1945, allocations: 0 / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004807/0.195, allocations: 275.7 kB / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.195, allocations: 67.41 kB / 0.9057 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1952, allocations: 283 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.1953, allocations: 41.69 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.1953, allocations: 89.14 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1954, allocations: 47.44 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.1954, allocations: 8 kB / 0.9061 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.1955, allocations: 326.8 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1957, allocations: 92.17 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.1959, allocations: 150.4 kB / 0.9067 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.196, allocations: 156 kB / 0.9068 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1961, allocations: 11.94 kB / 0.9068 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005615/0.1966, allocations: 411.1 kB / 0.9072 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.1967, allocations: 75.39 kB / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1967, allocations: 0 / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1967, allocations: 4 kB / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1969, allocations: 27.91 kB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1969, allocations: 4 kB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.1974, allocations: 68.05 kB / 0.9074 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.1975, allocations: 55.98 kB / 0.9074 GB, free: 56.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001399/0.1976, allocations: 179.9 kB / 0.9076 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1977, allocations: 27.72 kB / 0.9076 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.1977, allocations: 26.25 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1977, allocations: 4 kB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1977, allocations: 0 / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1977, allocations: 0 / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.1983, allocations: 0.5567 MB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1984, allocations: 3.984 kB / 0.9082 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.1984, allocations: 12 kB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1984, allocations: 4 kB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.1984, allocations: 11.98 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1984, allocations: 0 / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1984, allocations: 0 / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.1988, allocations: 329.1 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1989, allocations: 160.6 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.1989, allocations: 8 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1992, allocations: 15.98 kB / 0.9087 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1992, allocations: 19.97 kB / 0.9087 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.1993, allocations: 31.98 kB / 0.9088 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001278/0.1994, allocations: 209.9 kB / 0.909 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1994, allocations: 0 / 0.909 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002706/0.1997, allocations: 44 kB / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001047/0.1998, allocations: 122.4 kB / 0.9091 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.2002, allocations: 342.8 kB / 0.9095 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2002, allocations: 0 / 0.9095 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.2004, allocations: 77.78 kB / 0.9095 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2007, allocations: 20.88 kB / 0.9095 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.2012, allocations: 484.8 kB / 0.91 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2014, allocations: 0.7437 MB / 0.9107 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2015, allocations: 35.42 kB / 0.9108 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2015, allocations: 0 / 0.9108 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.003684/0.2052, allocations: 2.973 MB / 0.9137 GB, free: 50.23 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)