Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01021/0.01022, allocations: 89.69 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001241/0.00124, allocations: 175.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.165/2.165, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.308/2.308, allocations: 252.8 MB / 0.511 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004748, allocations: 13.59 kB / 0.6243 GB, free: 21.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 106.2 MB / 0.7281 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002624/0.2269, allocations: 1.19 MB / 0.7292 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2285, allocations: 399.8 kB / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.2285, allocations: 0 / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.2286, allocations: 3.938 kB / 0.7296 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.2288, allocations: 19.97 kB / 0.7296 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.23, allocations: 215.4 kB / 0.7298 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.2305, allocations: 147.8 kB / 0.73 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.2306, allocations: 8 kB / 0.73 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.2311, allocations: 167.6 kB / 0.7301 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.2316, allocations: 127.7 kB / 0.7303 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.2317, allocations: 8 kB / 0.7303 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2318, allocations: 8 kB / 0.7303 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.2321, allocations: 75.78 kB / 0.7303 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.2322, allocations: 69.58 kB / 0.7304 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.2327, allocations: 203.9 kB / 0.7306 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2327, allocations: 3.938 kB / 0.7306 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2327, allocations: 0 / 0.7306 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2328, allocations: 0 / 0.7306 GB, free: 5.469 MB / 0.5573 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.002011/0.2348, allocations: 0.6064 MB / 0.7312 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.2349, allocations: 11.97 kB / 0.7312 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.199e-05/0.235, allocations: 46.55 kB / 0.7313 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.2352, allocations: 35.58 kB / 0.7313 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.2357, allocations: 246.6 kB / 0.7315 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.2358, allocations: 12 kB / 0.7315 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.236, allocations: 23.98 kB / 0.7316 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.2366, allocations: 149.5 kB / 0.7317 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2366, allocations: 0 / 0.7317 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.2367, allocations: 4 kB / 0.7317 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2367, allocations: 0 / 0.7317 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.237, allocations: 55.86 kB / 0.7318 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.2377, allocations: 309.3 kB / 0.7321 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.2383, allocations: 126.7 kB / 0.7322 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.2384, allocations: 0 / 0.7322 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009215/0.2393, allocations: 217.9 kB / 0.7324 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.826e-06/0.2393, allocations: 0 / 0.7324 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.001265/0.2406, allocations: 273 kB / 0.7326 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.2407, allocations: 67.39 kB / 0.7327 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.2413, allocations: 283 kB / 0.733 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.2414, allocations: 45.69 kB / 0.733 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2415, allocations: 93.08 kB / 0.7331 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.2416, allocations: 43.45 kB / 0.7332 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.2417, allocations: 8 kB / 0.7332 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2419, allocations: 326.8 kB / 0.7335 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.2425, allocations: 92.17 kB / 0.7336 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.2431, allocations: 151.5 kB / 0.7337 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.2436, allocations: 148.1 kB / 0.7338 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2437, allocations: 0 / 0.7338 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001685/0.2454, allocations: 419.2 kB / 0.7342 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.2455, allocations: 78.52 kB / 0.7343 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2455, allocations: 7.938 kB / 0.7343 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.2456, allocations: 4 kB / 0.7343 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.246, allocations: 27.91 kB / 0.7344 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.246, allocations: 8 kB / 0.7344 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.2474, allocations: 71.86 kB / 0.7344 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.2476, allocations: 51.98 kB / 0.7345 GB, free: 1.195 MB / 0.5573 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.0003911/0.248, allocations: 178.5 kB / 0.7347 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/0.2481, allocations: 23.72 kB / 0.7347 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.2482, allocations: 26.25 kB / 0.7347 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2482, allocations: 8 kB / 0.7347 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2482, allocations: 3.938 kB / 0.7347 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2483, allocations: 0 / 0.7347 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.25, allocations: 0.5567 MB / 0.7353 GB, free: 352 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.25, allocations: 3.984 kB / 0.7353 GB, free: 348 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.2501, allocations: 12 kB / 0.7353 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.2501, allocations: 3.984 kB / 0.7353 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.2502, allocations: 11.98 kB / 0.7353 GB, free: 320 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2502, allocations: 0 / 0.7353 GB, free: 320 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2503, allocations: 0 / 0.7353 GB, free: 320 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.2513, allocations: 327 kB / 0.7356 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.2517, allocations: 164.6 kB / 0.7358 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.2518, allocations: 8 kB / 0.7358 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.2523, allocations: 15.98 kB / 0.7358 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2524, allocations: 19.97 kB / 0.7358 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/0.2525, allocations: 27.98 kB / 0.7358 GB, free: 15.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004164/0.253, allocations: 213.9 kB / 0.736 GB, free: 15.52 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.253, allocations: 0 / 0.736 GB, free: 15.52 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007724/0.2538, allocations: 48 kB / 0.7361 GB, free: 15.47 MB / 0.573 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.001482/0.2553, allocations: 0.8667 MB / 0.7369 GB, free: 14.58 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.2565, allocations: 342.8 kB / 0.7372 GB, free: 14.22 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2565, allocations: 0 / 0.7372 GB, free: 14.22 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.2569, allocations: 75.81 kB / 0.7373 GB, free: 14.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.2573, allocations: 20.88 kB / 0.7373 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.2599, allocations: 1.603 MB / 0.7389 GB, free: 12.44 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.2605, allocations: 0.7477 MB / 0.7396 GB, free: 11.66 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.2608, allocations: 41.42 kB / 0.7397 GB, free: 11.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.2612, allocations: 47.34 kB / 0.7397 GB, free: 11.58 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/0.2612, allocations: 0 / 0.7397 GB, free: 11.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.3059, allocations: 4.94 MB / 0.7445 GB, free: 6.754 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.3062, allocations: 192.1 kB / 0.7447 GB, free: 6.508 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/2.745, allocations: 4.062 kB / 0.7447 GB, free: 6.504 MB / 0.573 GB