Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.433/2.433, allocations: 287.9 MB / 302.9 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001508, allocations: 183.9 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.4 MB / 0.6301 GB, free: 10.31 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.62 kB / 0.7434 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000949/0.0009489, allocations: 11.66 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1916, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001332/0.193, allocations: 1.186 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.1937, allocations: 393.2 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.1938, allocations: 0 / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.1938, allocations: 0 / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.549e-05/0.1939, allocations: 27.89 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.1946, allocations: 213.3 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1948, allocations: 147.8 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1949, allocations: 8 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1951, allocations: 163.6 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1953, allocations: 127.7 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.1954, allocations: 8 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.1955, allocations: 12 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.1955, allocations: 71.78 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.1956, allocations: 73.52 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1959, allocations: 203.8 kB / 0.9813 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1959, allocations: 0 / 0.9813 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.955e-06/0.1959, allocations: 0 / 0.9813 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1959, allocations: 4 kB / 0.9813 GB, free: 25.56 MB / 0.6198 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.0009123/0.1968, allocations: 0.6141 MB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1969, allocations: 8.031 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.197, allocations: 31.72 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1972, allocations: 250.5 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.1973, allocations: 15.98 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.1974, allocations: 24 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.1977, allocations: 143.7 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1977, allocations: 0 / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.1978, allocations: 4 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1978, allocations: 4 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.198, allocations: 43.97 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1983, allocations: 317.3 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.1986, allocations: 134.8 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1987, allocations: 4 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.1992, allocations: 220.6 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.698e-06/0.1992, allocations: 0 / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006518/0.1999, allocations: 266.9 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1999, allocations: 63.39 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.2002, allocations: 294.8 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.2003, allocations: 33.7 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.2003, allocations: 93.14 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.2004, allocations: 47.48 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2004, allocations: 8 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.2005, allocations: 330.8 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.2008, allocations: 96.17 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.2011, allocations: 138.4 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.2014, allocations: 158.7 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.72e-06/0.2014, allocations: 0 / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001254/0.2027, allocations: 407.2 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.2028, allocations: 79.38 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2028, allocations: 0 / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2028, allocations: 4 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.2032, allocations: 28.11 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2032, allocations: 4 kB / 0.985 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.204, allocations: 71.73 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/0.2041, allocations: 67.89 kB / 0.9851 GB, free: 21.34 MB / 0.6198 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.000185/0.2043, allocations: 172 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.2044, allocations: 31.62 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.2044, allocations: 34.25 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.004e-06/0.2045, allocations: 0 / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-06/0.2045, allocations: 0 / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.863e-06/0.2045, allocations: 7.984 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.2053, allocations: 0.5617 MB / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-06/0.2053, allocations: 0 / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.2054, allocations: 4 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.496e-06/0.2054, allocations: 4 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.2055, allocations: 11.97 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-06/0.2055, allocations: 0 / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.95e-06/0.2055, allocations: 4 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.206, allocations: 324.6 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.2062, allocations: 156.7 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.2063, allocations: 12 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.2065, allocations: 7.984 kB / 0.9864 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.2066, allocations: 23.97 kB / 0.9864 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.2067, allocations: 23.98 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001921/0.2069, allocations: 209.9 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.3e-07/0.2069, allocations: 0 / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004144/0.2073, allocations: 48 kB / 0.9867 GB, free: 19.62 MB / 0.6198 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.0001254/0.2074, allocations: 127.7 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006345/0.2081, allocations: 342.7 kB / 0.9872 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.98e-06/0.2081, allocations: 0 / 0.9872 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.2083, allocations: 71.91 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2086, allocations: 26.23 kB / 0.9872 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.2093, allocations: 443.3 kB / 0.9877 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2095, allocations: 0.7516 MB / 0.9884 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.2098, allocations: 37.42 kB / 0.9884 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2099, allocations: 35.42 kB / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.372e-06/0.2099, allocations: 0 / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.008481/0.2184, allocations: 3.894 MB / 0.9923 GB, free: 13.84 MB / 0.6198 GB