Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 252 MB / 267.6 MB, free: 10.92 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.001022/0.001022, allocations: 180.6 kB / 327.3 MB, free: 2.227 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.907/1.907, allocations: 205.4 MB / 0.5783 GB, free: 20.49 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.0007273/0.0007273, allocations: 92.22 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 14.02 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.187, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00143/0.1885, allocations: 1.191 MB / 0.902 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006949/0.1892, allocations: 408 kB / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.1892, allocations: 4 kB / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.821e-05/0.1893, allocations: 3.938 kB / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.834e-05/0.1894, allocations: 23.84 kB / 0.9024 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.19, allocations: 204.5 kB / 0.9026 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1902, allocations: 239.5 kB / 0.9028 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.1902, allocations: 15.98 kB / 0.9028 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1905, allocations: 223.6 kB / 0.9031 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1907, allocations: 127.7 kB / 0.9032 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.1907, allocations: 12 kB / 0.9032 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.1908, allocations: 11.94 kB / 0.9032 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.437e-05/0.1909, allocations: 83.77 kB / 0.9033 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.1909, allocations: 65.58 kB / 0.9033 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1911, allocations: 195.9 kB / 0.9035 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1911, allocations: 4 kB / 0.9035 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1911, allocations: 4 kB / 0.9035 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1911, allocations: 0 / 0.9035 GB, free: 61.51 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.000884/0.192, allocations: 0.6219 MB / 0.9041 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1921, allocations: 8.031 kB / 0.9041 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.1922, allocations: 39.56 kB / 0.9042 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1924, allocations: 254.5 kB / 0.9044 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.1924, allocations: 16 kB / 0.9044 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.1925, allocations: 19.97 kB / 0.9045 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.1927, allocations: 145.5 kB / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1928, allocations: 0 / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1928, allocations: 0 / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1928, allocations: 4 kB / 0.9046 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1929, allocations: 43.97 kB / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.1932, allocations: 317.2 kB / 0.9049 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.1934, allocations: 130.7 kB / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1935, allocations: 60.83 kB / 0.9051 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1936, allocations: 0 / 0.9051 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.194, allocations: 222.4 kB / 0.9053 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.194, allocations: 0 / 0.9053 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000495/0.1945, allocations: 269.1 kB / 0.9056 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1945, allocations: 55.41 kB / 0.9057 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1948, allocations: 290.9 kB / 0.9059 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.1948, allocations: 45.69 kB / 0.906 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.1949, allocations: 89.14 kB / 0.9061 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.195, allocations: 51.44 kB / 0.9061 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.195, allocations: 4 kB / 0.9061 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.1951, allocations: 330.7 kB / 0.9064 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1953, allocations: 92.17 kB / 0.9065 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.1955, allocations: 146.4 kB / 0.9067 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1957, allocations: 156.1 kB / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1957, allocations: 0 / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006901/0.1964, allocations: 418.6 kB / 0.9072 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.1965, allocations: 75.58 kB / 0.9073 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1965, allocations: 4 kB / 0.9073 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1965, allocations: 4 kB / 0.9073 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1967, allocations: 31.91 kB / 0.9073 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.1968, allocations: 4 kB / 0.9073 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.1973, allocations: 71.8 kB / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/0.1974, allocations: 47.98 kB / 0.9074 GB, free: 57.21 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.0002158/0.1976, allocations: 179.9 kB / 0.9076 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1977, allocations: 23.72 kB / 0.9076 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.1978, allocations: 30.25 kB / 0.9077 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1978, allocations: 4 kB / 0.9077 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.1978, allocations: 0 / 0.9077 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1978, allocations: 7.938 kB / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.1986, allocations: 0.5627 MB / 0.9082 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1986, allocations: 3.984 kB / 0.9082 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.1986, allocations: 8 kB / 0.9082 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1986, allocations: 0 / 0.9082 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.1987, allocations: 19.98 kB / 0.9082 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1987, allocations: 3.938 kB / 0.9082 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1987, allocations: 0 / 0.9082 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.1992, allocations: 323 kB / 0.9086 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.1994, allocations: 156.6 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.1995, allocations: 8 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.1998, allocations: 15.98 kB / 0.9087 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.1998, allocations: 19.91 kB / 0.9087 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.1999, allocations: 31.98 kB / 0.9088 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002149/0.2001, allocations: 205.9 kB / 0.909 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2001, allocations: 4 kB / 0.909 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004954/0.2006, allocations: 48 kB / 0.909 GB, free: 55.48 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.0001926/0.2008, allocations: 115.2 kB / 0.9091 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006956/0.2016, allocations: 345.2 kB / 0.9095 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2016, allocations: 0 / 0.9095 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.2018, allocations: 71.91 kB / 0.9095 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.2023, allocations: 25.25 kB / 0.9096 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.2032, allocations: 484.5 kB / 0.91 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2034, allocations: 0.7436 MB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.2036, allocations: 35.42 kB / 0.9108 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.2036, allocations: 0 / 0.9108 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.006448/0.2101, allocations: 2.973 MB / 0.9137 GB, free: 50.63 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)