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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.01613/0.01613, 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.001701/0.001701, 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 2.015/2.015, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.324/2.324, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006394, allocations: 8 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7318, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.9603, allocations: 126.4 MB / 0.8068 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.9607, allocations: 75.95 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02125/0.982, allocations: 4.186 MB / 0.811 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/0.982, allocations: 0 / 0.811 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.982, allocations: 0 / 0.811 GB, free: 11.52 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/0.9833, allocations: 0.5794 MB / 0.8116 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.9834, allocations: 11.97 kB / 0.8116 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.809e-05/0.9835, allocations: 38.55 kB / 0.8116 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.9836, allocations: 23.81 kB / 0.8116 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.9838, allocations: 195.8 kB / 0.8118 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.9838, allocations: 11.98 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.9839, allocations: 16 kB / 0.8119 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.9844, allocations: 137.5 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9844, allocations: 7.984 kB / 0.812 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.9844, allocations: 3.984 kB / 0.812 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.9845, allocations: 4 kB / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.9847, allocations: 47.97 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.9852, allocations: 309.3 kB / 0.8123 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.9856, allocations: 126.6 kB / 0.8125 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.9857, allocations: 8 kB / 0.8125 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.9863, allocations: 211 kB / 0.8127 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.205e-06/0.9863, allocations: 0 / 0.8127 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0008858/0.9872, allocations: 256.9 kB / 0.8129 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.9872, allocations: 55.41 kB / 0.813 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.9876, allocations: 207.1 kB / 0.8132 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.776e-05/0.9876, allocations: 37.69 kB / 0.8132 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.9877, allocations: 89.14 kB / 0.8133 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.9878, allocations: 47.5 kB / 0.8133 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.9879, allocations: 8 kB / 0.8133 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9881, allocations: 326.8 kB / 0.8136 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.9885, allocations: 100.1 kB / 0.8137 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.989, allocations: 150.4 kB / 0.8139 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.9894, allocations: 154.5 kB / 0.814 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9895, allocations: 4 kB / 0.814 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00127/0.9907, allocations: 407.1 kB / 0.8144 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.9909, allocations: 75.38 kB / 0.8145 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.9909, allocations: 4.188 kB / 0.8145 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.9909, allocations: 4 kB / 0.8145 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.9912, allocations: 27.98 kB / 0.8145 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.9912, allocations: 3.938 kB / 0.8145 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/0.9918, allocations: 51.81 kB / 0.8146 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.992, allocations: 39.98 kB / 0.8146 GB, free: 7.492 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.0002804/0.9922, allocations: 168 kB / 0.8148 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.9923, allocations: 19.72 kB / 0.8148 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.9924, allocations: 25.86 kB / 0.8148 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.9924, allocations: 0 / 0.8148 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.9924, allocations: 0 / 0.8148 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9924, allocations: 0 / 0.8148 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.9936, allocations: 0.5372 MB / 0.8154 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.9936, allocations: 4 kB / 0.8154 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.9937, allocations: 11.92 kB / 0.8154 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.9937, allocations: 4 kB / 0.8154 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.9938, allocations: 7.984 kB / 0.8154 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9938, allocations: 0 / 0.8154 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9938, allocations: 0 / 0.8154 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.9945, allocations: 317.4 kB / 0.8157 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.9947, allocations: 132.9 kB / 0.8158 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.9948, allocations: 12 kB / 0.8158 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.9951, allocations: 11.98 kB / 0.8158 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.9952, allocations: 23.91 kB / 0.8159 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.9953, allocations: 19.98 kB / 0.8159 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002213/0.9955, allocations: 165.6 kB / 0.816 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.547e-06/0.9955, allocations: 0 / 0.816 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004899/0.996, allocations: 55.92 kB / 0.8161 GB, free: 5.902 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.001071/0.9971, allocations: 0.8665 MB / 0.8169 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000977/0.9981, allocations: 348.8 kB / 0.8173 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9981, allocations: 0 / 0.8173 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.9984, allocations: 63.91 kB / 0.8173 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.9987, allocations: 25.66 kB / 0.8173 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/1, allocations: 1.532 MB / 0.8188 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/1.001, allocations: 0.7281 MB / 0.8196 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001976/1.001, allocations: 33.08 kB / 0.8196 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/1.001, allocations: 43.41 kB / 0.8196 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/1.001, allocations: 0 / 0.8196 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/1.03, allocations: 4.939 MB / 0.8245 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/1.03, allocations: 191.2 kB / 0.8246 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.488, allocations: 0 / 0.8246 GB, free: 13.07 MB / 0.6511 GB