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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.01103/0.01103, allocations: 106.6 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.001621/0.001621, allocations: 186.4 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.96/1.96, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.215/2.215, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004678, allocations: 8 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7035, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2423/0.9458, allocations: 126.3 MB / 0.8068 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.9462, allocations: 75.88 kB / 0.8069 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0214/0.9676, allocations: 4.173 MB / 0.8109 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.17e-06/0.9676, allocations: 0 / 0.8109 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.9677, allocations: 11.94 kB / 0.8109 GB, free: 11.68 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.001228/0.9689, allocations: 0.5793 MB / 0.8115 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.969, allocations: 8.031 kB / 0.8115 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.969, allocations: 38.56 kB / 0.8116 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.9692, allocations: 27.8 kB / 0.8116 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.9694, allocations: 187.9 kB / 0.8118 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.9694, allocations: 16 kB / 0.8118 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.9695, allocations: 23.98 kB / 0.8118 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.97, allocations: 133.5 kB / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.97, allocations: 3.938 kB / 0.8119 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.97, allocations: 8 kB / 0.8119 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9701, allocations: 0 / 0.8119 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.9703, allocations: 47.97 kB / 0.812 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.9708, allocations: 305.4 kB / 0.8123 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.9712, allocations: 130.6 kB / 0.8124 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.9712, allocations: 0 / 0.8124 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005534/0.9718, allocations: 200.3 kB / 0.8126 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.314e-06/0.9718, allocations: 0 / 0.8126 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.000893/0.9727, allocations: 259.6 kB / 0.8128 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.9728, allocations: 63.39 kB / 0.8129 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.9731, allocations: 207.1 kB / 0.8131 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-05/0.9732, allocations: 41.7 kB / 0.8131 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.9733, allocations: 93.12 kB / 0.8132 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.9734, allocations: 39.52 kB / 0.8133 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.9735, allocations: 15.92 kB / 0.8133 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9736, allocations: 322.8 kB / 0.8136 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.9741, allocations: 100.2 kB / 0.8137 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.9746, allocations: 146.4 kB / 0.8138 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.975, allocations: 158.1 kB / 0.814 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.9751, allocations: 0 / 0.814 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001246/0.9763, allocations: 407.2 kB / 0.8144 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.606e-05/0.9764, allocations: 75.39 kB / 0.8144 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9765, allocations: 0 / 0.8144 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.9765, allocations: 4 kB / 0.8144 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.9767, allocations: 27.91 kB / 0.8145 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.9768, allocations: 7.984 kB / 0.8145 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/0.9774, allocations: 51.91 kB / 0.8145 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9775, allocations: 43.98 kB / 0.8146 GB, free: 7.664 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.0002898/0.9778, allocations: 160 kB / 0.8147 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.9779, allocations: 23.7 kB / 0.8147 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.978, allocations: 25.86 kB / 0.8148 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.978, allocations: 4 kB / 0.8148 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.978, allocations: 3.938 kB / 0.8148 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.978, allocations: 0 / 0.8148 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.9792, allocations: 0.5411 MB / 0.8153 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9793, allocations: 4 kB / 0.8153 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.9793, allocations: 8 kB / 0.8153 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.9794, allocations: 3.984 kB / 0.8153 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.9794, allocations: 11.98 kB / 0.8153 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.9794, allocations: 4 kB / 0.8153 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9794, allocations: 0 / 0.8153 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.9801, allocations: 317.4 kB / 0.8156 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.9803, allocations: 128.8 kB / 0.8158 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.9804, allocations: 12 kB / 0.8158 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.9807, allocations: 11.98 kB / 0.8158 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.9808, allocations: 11.98 kB / 0.8158 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/0.9809, allocations: 27.98 kB / 0.8158 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002184/0.9811, allocations: 165.6 kB / 0.816 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9811, allocations: 0 / 0.816 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005015/0.9816, allocations: 44 kB / 0.816 GB, free: 6.082 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.001056/0.9827, allocations: 0.8778 MB / 0.8169 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.9837, allocations: 348.8 kB / 0.8172 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9838, allocations: 384 / 0.8172 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.984, allocations: 71.95 kB / 0.8173 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.9843, allocations: 17.34 kB / 0.8173 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.986, allocations: 1.528 MB / 0.8188 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.9864, allocations: 0.7359 MB / 0.8195 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.9866, allocations: 29.08 kB / 0.8195 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.9868, allocations: 39.42 kB / 0.8196 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.9868, allocations: 0 / 0.8196 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/1.017, allocations: 4.934 MB / 0.8244 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/1.018, allocations: 188.1 kB / 0.8246 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.458, allocations: 0 / 0.8246 GB, free: 13.25 MB / 0.6511 GB