Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0111/0.0111, allocations: 107.1 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001217/0.001218, allocations: 186.5 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.88/1.88, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.276/2.276, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000544/0.0005442, allocations: 16 kB / 0.587 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7717, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/1.042, allocations: 126.4 MB / 0.8068 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.043, allocations: 75.95 kB / 0.8069 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02177/1.065, allocations: 4.182 MB / 0.811 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.325e-06/1.065, allocations: 4 kB / 0.811 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.065, allocations: 0 / 0.811 GB, free: 11.56 MB / 0.6355 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.001268/1.066, allocations: 0.5794 MB / 0.8116 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.066, allocations: 15.97 kB / 0.8116 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.063e-05/1.066, allocations: 34.55 kB / 0.8116 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/1.066, allocations: 23.81 kB / 0.8116 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/1.066, allocations: 195.8 kB / 0.8118 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/1.067, allocations: 15.98 kB / 0.8118 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.067, allocations: 16 kB / 0.8119 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/1.067, allocations: 145.5 kB / 0.812 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.067, allocations: 0 / 0.812 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/1.067, allocations: 7.984 kB / 0.812 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.067, allocations: 4 kB / 0.812 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/1.067, allocations: 43.97 kB / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/1.068, allocations: 309.3 kB / 0.8123 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/1.068, allocations: 122.7 kB / 0.8125 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/1.068, allocations: 7.984 kB / 0.8125 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/1.069, allocations: 207 kB / 0.8127 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.076e-06/1.069, allocations: 0 / 0.8127 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001053/1.07, allocations: 259.5 kB / 0.8129 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/1.07, allocations: 59.41 kB / 0.813 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/1.071, allocations: 199.2 kB / 0.8132 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.916e-05/1.071, allocations: 37.69 kB / 0.8132 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.071, allocations: 93.14 kB / 0.8133 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/1.071, allocations: 43.5 kB / 0.8133 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/1.071, allocations: 11.94 kB / 0.8133 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.071, allocations: 326.8 kB / 0.8136 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/1.072, allocations: 100.2 kB / 0.8137 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/1.072, allocations: 146.4 kB / 0.8139 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/1.073, allocations: 156.1 kB / 0.814 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/1.073, allocations: 4 kB / 0.814 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001394/1.074, allocations: 407.6 kB / 0.8144 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.074, allocations: 79.56 kB / 0.8145 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.074, allocations: 4 kB / 0.8145 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.074, allocations: 7.984 kB / 0.8145 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/1.075, allocations: 19.98 kB / 0.8145 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.075, allocations: 3.938 kB / 0.8145 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/1.075, allocations: 51.81 kB / 0.8146 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.075, allocations: 51.95 kB / 0.8146 GB, free: 7.523 MB / 0.6355 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.0003127/1.076, allocations: 160 kB / 0.8148 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/1.076, allocations: 15.81 kB / 0.8148 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/1.076, allocations: 25.86 kB / 0.8148 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.076, allocations: 0 / 0.8148 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.076, allocations: 0 / 0.8148 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.076, allocations: 3.984 kB / 0.8148 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/1.077, allocations: 0.5429 MB / 0.8154 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.077, allocations: 4 kB / 0.8154 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/1.077, allocations: 7.938 kB / 0.8154 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/1.077, allocations: 4 kB / 0.8154 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/1.077, allocations: 11.98 kB / 0.8154 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.077, allocations: 3.938 kB / 0.8154 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.078, allocations: 0 / 0.8154 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/1.078, allocations: 311.1 kB / 0.8157 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/1.079, allocations: 132.9 kB / 0.8158 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/1.079, allocations: 8 kB / 0.8158 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/1.079, allocations: 15.98 kB / 0.8158 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/1.079, allocations: 19.88 kB / 0.8159 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/1.079, allocations: 23.98 kB / 0.8159 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002348/1.079, allocations: 165.5 kB / 0.816 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.079, allocations: 0 / 0.816 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005347/1.08, allocations: 51.98 kB / 0.8161 GB, free: 5.941 MB / 0.6355 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.001193/1.081, allocations: 0.866 MB / 0.8169 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001051/1.082, allocations: 346.8 kB / 0.8173 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.082, allocations: 0 / 0.8173 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/1.083, allocations: 72.19 kB / 0.8173 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/1.083, allocations: 26.31 kB / 0.8174 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/1.085, allocations: 1.532 MB / 0.8188 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/1.085, allocations: 0.7243 MB / 0.8196 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002312/1.085, allocations: 37.06 kB / 0.8196 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/1.086, allocations: 39.41 kB / 0.8196 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/1.086, allocations: 0 / 0.8196 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/1.123, allocations: 4.933 MB / 0.8244 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/1.123, allocations: 194.6 kB / 0.8246 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.552, allocations: 0 / 0.8246 GB, free: 13.11 MB / 0.6511 GB