Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.569/2.569, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001512/0.001511, allocations: 182.6 kB / 325.6 MB, free: 2.828 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.645/2.645, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001629/0.001629, allocations: 96.03 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004727, allocations: 8.875 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001813/0.2271, allocations: 1.194 MB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2281, allocations: 389 kB / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.2282, allocations: 0 / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.2283, allocations: 3.984 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.2284, allocations: 23.92 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.2293, allocations: 215.2 kB / 0.9006 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.2295, allocations: 147.8 kB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.011e-05/0.2296, allocations: 15.97 kB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003576/0.23, allocations: 163.6 kB / 0.9009 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.2302, allocations: 123.7 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.459e-05/0.2303, allocations: 12 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.2304, allocations: 8 kB / 0.9011 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2305, allocations: 75.78 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.72e-05/0.2306, allocations: 69.58 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.2309, allocations: 195.6 kB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2309, allocations: 4 kB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2309, allocations: 0 / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2309, allocations: 4 kB / 0.9014 GB, free: 63.32 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.001338/0.2323, allocations: 0.6103 MB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2323, allocations: 12.02 kB / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2325, allocations: 39.58 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.2329, allocations: 250.5 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.2329, allocations: 7.984 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.233, allocations: 20 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.2334, allocations: 153.5 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2335, allocations: 4 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.2335, allocations: 3.984 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2335, allocations: 0 / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.2338, allocations: 47.97 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.2342, allocations: 313.2 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.2347, allocations: 130.7 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.2347, allocations: 0 / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006067/0.2353, allocations: 220.9 kB / 0.9032 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.234e-06/0.2353, allocations: 0 / 0.9032 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008606/0.2362, allocations: 279.2 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2363, allocations: 59.39 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.2366, allocations: 283 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/0.2367, allocations: 41.7 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.2368, allocations: 89.12 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.2369, allocations: 51.38 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.237, allocations: 8 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.2371, allocations: 330.8 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.2374, allocations: 88.17 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.2378, allocations: 150.4 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.2382, allocations: 151.2 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2382, allocations: 4 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001053/0.2393, allocations: 415.1 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.2394, allocations: 75.38 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2394, allocations: 0 / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.2394, allocations: 4 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2397, allocations: 27.92 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2397, allocations: 7.984 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.2407, allocations: 68.05 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/0.2408, allocations: 47.98 kB / 0.9052 GB, free: 59.1 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.0002795/0.2411, allocations: 185.1 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.2412, allocations: 27.7 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.2413, allocations: 34.25 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2413, allocations: 4 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2413, allocations: 0 / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2413, allocations: 0 / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.2424, allocations: 0.5606 MB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2425, allocations: 0 / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.2426, allocations: 11.98 kB / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.2426, allocations: 4 kB / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.2426, allocations: 15.98 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2426, allocations: 0 / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2427, allocations: 0 / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.2433, allocations: 321.2 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.2435, allocations: 152.7 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.2436, allocations: 15.92 kB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.244, allocations: 19.98 kB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.2441, allocations: 11.98 kB / 0.9066 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.2441, allocations: 31.97 kB / 0.9066 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000238/0.2444, allocations: 205.9 kB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-07/0.2444, allocations: 0 / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004937/0.2449, allocations: 55.94 kB / 0.9068 GB, free: 57.38 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.000179/0.2451, allocations: 115 kB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008046/0.2459, allocations: 346.7 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2459, allocations: 0 / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.2462, allocations: 73.3 kB / 0.9073 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.2465, allocations: 20.88 kB / 0.9074 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.2474, allocations: 443.2 kB / 0.9078 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.2476, allocations: 0.7553 MB / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.2479, allocations: 37.42 kB / 0.9086 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2481, allocations: 31.42 kB / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.2481, allocations: 4 kB / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.01026/0.2584, allocations: 3.904 MB / 0.9124 GB, free: 51.6 MB / 0.6042 GB