Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.193/2.193, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 183.7 kB / 325.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.799/2.799, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 101.4 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 14.5 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001957/0.2031, allocations: 1.367 MB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2042, allocations: 444 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.2043, allocations: 3.938 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/0.2044, allocations: 7.922 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2046, allocations: 27.95 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.2055, allocations: 218 kB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.2059, allocations: 179.7 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.206, allocations: 25.38 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.2063, allocations: 171.6 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.2066, allocations: 127.7 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.2067, allocations: 12 kB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-05/0.2068, allocations: 12 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2069, allocations: 71.78 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.207, allocations: 81.58 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.2074, allocations: 323.4 kB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2074, allocations: 0 / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2074, allocations: 0 / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2074, allocations: 0 / 0.9019 GB, free: 62.37 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001433/0.2088, allocations: 0.6452 MB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2089, allocations: 12.03 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.2091, allocations: 35.62 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.2095, allocations: 271.1 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/0.2096, allocations: 12 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.2097, allocations: 23.98 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.2101, allocations: 169.4 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2101, allocations: 0 / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.2102, allocations: 11.98 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2102, allocations: 4 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.2105, allocations: 55.97 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.2121, allocations: 0.5627 MB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.2126, allocations: 134.7 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.2127, allocations: 4 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000634/0.2133, allocations: 230.2 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.965e-06/0.2134, allocations: 0 / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008895/0.2143, allocations: 287.5 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2143, allocations: 55.41 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.2147, allocations: 324.3 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.231e-05/0.2148, allocations: 41.7 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.2149, allocations: 101 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.215, allocations: 39.59 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.215, allocations: 8 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.2151, allocations: 326.8 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.2155, allocations: 104.2 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.2159, allocations: 154.4 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.2163, allocations: 168.1 kB / 0.9055 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.2163, allocations: 0 / 0.9055 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001091/0.2174, allocations: 441.1 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/0.2175, allocations: 75.58 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2175, allocations: 7.938 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2175, allocations: 7.953 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.2178, allocations: 31.91 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2178, allocations: 4 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009211/0.2188, allocations: 75.73 kB / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.2189, allocations: 55.98 kB / 0.9062 GB, free: 57.66 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002908/0.2192, allocations: 189.7 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.2193, allocations: 27.62 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.2194, allocations: 26.36 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.2194, allocations: 11.94 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2194, allocations: 0 / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2194, allocations: 4 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.2205, allocations: 0.5996 MB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2205, allocations: 4 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.2207, allocations: 4 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.2207, allocations: 3.953 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.2207, allocations: 19.97 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2207, allocations: 0 / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2207, allocations: 0 / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.2214, allocations: 324.6 kB / 0.9074 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.2217, allocations: 188.6 kB / 0.9075 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.2218, allocations: 11.95 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.2222, allocations: 15.98 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.2223, allocations: 19.91 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.2223, allocations: 31.98 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002831/0.2226, allocations: 223 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2226, allocations: 7.938 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005197/0.2232, allocations: 52 kB / 0.9079 GB, free: 55.81 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0001895/0.2234, allocations: 121 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008294/0.2242, allocations: 362.8 kB / 0.9084 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2242, allocations: 0 / 0.9084 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.2245, allocations: 81.22 kB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.2249, allocations: 37.75 kB / 0.9085 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2259, allocations: 487.6 kB / 0.9089 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2262, allocations: 0.7672 MB / 0.9097 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.2265, allocations: 41.42 kB / 0.9097 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.2267, allocations: 31.42 kB / 0.9097 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of SimCode: time 1.253e-06/0.2267, allocations: 0 / 0.9097 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.01141/0.2381, allocations: 4.279 MB / 0.9139 GB, free: 49.6 MB / 0.6042 GB