Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.708/2.708, 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.001593/0.001593, allocations: 167.1 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.666/2.666, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001102/0.001102, allocations: 104 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 13.62 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 106.2 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001955/0.2444, allocations: 1.19 MB / 0.9 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2455, allocations: 397 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.2456, allocations: 3.938 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.2457, allocations: 3.938 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.2458, allocations: 23.95 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008881/0.2467, allocations: 206 kB / 0.9006 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.247, allocations: 151.7 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.2471, allocations: 16 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.2474, allocations: 163.7 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.2476, allocations: 115.8 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.2477, allocations: 15.98 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.2478, allocations: 8 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2479, allocations: 75.8 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.2481, allocations: 65.58 kB / 0.9012 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.2483, allocations: 203.9 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2483, allocations: 0 / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.875e-06/0.2484, allocations: 0 / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2484, allocations: 3.938 kB / 0.9014 GB, free: 62.86 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.001387/0.2498, allocations: 0.6103 MB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2498, allocations: 12.03 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.25, allocations: 39.56 kB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.2503, allocations: 250.5 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.2504, allocations: 15.98 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/0.2505, allocations: 20 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2509, allocations: 145.5 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2509, allocations: 3.984 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.251, allocations: 7.984 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.251, allocations: 0 / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.2512, allocations: 43.98 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.2516, allocations: 309.3 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.252, allocations: 138.6 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2521, allocations: 0 / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.2527, allocations: 219.6 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.375e-06/0.2527, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008622/0.2536, allocations: 266.7 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2536, allocations: 71.38 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.254, allocations: 279 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.2541, allocations: 41.7 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.2541, allocations: 93.12 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.2542, allocations: 47.39 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.2543, allocations: 8 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.2543, allocations: 326.8 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.2547, allocations: 92.17 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.255, allocations: 146.3 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.2554, allocations: 160.1 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2554, allocations: 0 / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001022/0.2564, allocations: 410.3 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.86e-05/0.2565, allocations: 75.38 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2566, allocations: 7.938 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.2566, allocations: 4 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.2569, allocations: 24.17 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2569, allocations: 7.938 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/0.2578, allocations: 75.84 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/0.258, allocations: 47.98 kB / 0.9053 GB, free: 58.62 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.0002538/0.2582, allocations: 182.2 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.2583, allocations: 23.72 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.2584, allocations: 26.25 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2584, allocations: 7.938 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.2584, allocations: 3.984 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2584, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2595, allocations: 0.5645 MB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2595, allocations: 0 / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.2596, allocations: 15.92 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.2596, allocations: 0 / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.2597, allocations: 11.98 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2597, allocations: 4 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2597, allocations: 3.984 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.2603, allocations: 316.6 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.2605, allocations: 152.7 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.2606, allocations: 15.98 kB / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.261, allocations: 12 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.2611, allocations: 15.97 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.2611, allocations: 31.98 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002402/0.2614, allocations: 205.9 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2614, allocations: 0 / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004901/0.2619, allocations: 55.94 kB / 0.9068 GB, free: 56.91 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.0001598/0.2621, allocations: 115 kB / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007817/0.2629, allocations: 352.4 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2629, allocations: 0 / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.2631, allocations: 71.95 kB / 0.9074 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.2635, allocations: 12.89 kB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.2644, allocations: 455.1 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.2646, allocations: 0.7553 MB / 0.9085 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000218/0.2649, allocations: 37.42 kB / 0.9086 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.2651, allocations: 39.42 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.2651, allocations: 0 / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of Templates: time 0.01013/0.2752, allocations: 3.899 MB / 0.9124 GB, free: 51.12 MB / 0.6042 GB