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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.009367/0.009372, allocations: 89.42 kB / 15.04 MB, free: 5.977 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.001088/0.001088, allocations: 172.1 kB / 15.92 MB, free: 5.938 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.056/2.056, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.354/2.354, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.000665, allocations: 11.81 kB / 0.6243 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2343, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002118/0.2364, allocations: 1.19 MB / 0.7292 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2381, allocations: 395.8 kB / 0.7296 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.2382, allocations: 0 / 0.7296 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.218e-05/0.2383, allocations: 3.938 kB / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.2384, allocations: 27.89 kB / 0.7296 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2396, allocations: 207.5 kB / 0.7298 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.2401, allocations: 151.7 kB / 0.73 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.2402, allocations: 8 kB / 0.73 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.2407, allocations: 159.7 kB / 0.7301 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.2411, allocations: 131.7 kB / 0.7303 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.2412, allocations: 8 kB / 0.7303 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2414, allocations: 12 kB / 0.7303 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.2416, allocations: 71.78 kB / 0.7303 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.2418, allocations: 73.58 kB / 0.7304 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.2422, allocations: 207.8 kB / 0.7306 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2423, allocations: 0 / 0.7306 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2423, allocations: 0 / 0.7306 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.2423, allocations: 0 / 0.7306 GB, free: 7.523 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.002055/0.2444, allocations: 0.6026 MB / 0.7312 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.2445, allocations: 19.97 kB / 0.7312 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.2446, allocations: 38.55 kB / 0.7313 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.2448, allocations: 39.58 kB / 0.7313 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.2454, allocations: 246.6 kB / 0.7315 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.2455, allocations: 12 kB / 0.7315 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.2457, allocations: 15.98 kB / 0.7316 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.2464, allocations: 153.5 kB / 0.7317 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2464, allocations: 0 / 0.7317 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.2465, allocations: 0 / 0.7317 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2465, allocations: 4 kB / 0.7317 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.2469, allocations: 51.92 kB / 0.7318 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/0.2476, allocations: 317.3 kB / 0.7321 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.2483, allocations: 130.6 kB / 0.7322 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.2484, allocations: 4 kB / 0.7322 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/0.2494, allocations: 211.6 kB / 0.7324 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 3.186e-06/0.2494, allocations: 0 / 0.7324 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.001402/0.2508, allocations: 277 kB / 0.7327 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.2509, allocations: 59.41 kB / 0.7327 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.2516, allocations: 291 kB / 0.733 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.2517, allocations: 41.62 kB / 0.733 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2519, allocations: 89.14 kB / 0.7331 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.252, allocations: 47.44 kB / 0.7332 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.2521, allocations: 8 kB / 0.7332 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.2523, allocations: 326.8 kB / 0.7335 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.2529, allocations: 96.17 kB / 0.7336 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.2535, allocations: 144.4 kB / 0.7337 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.2541, allocations: 158.7 kB / 0.7339 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2542, allocations: 0 / 0.7339 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001733/0.2559, allocations: 415.1 kB / 0.7343 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.2561, allocations: 74.52 kB / 0.7343 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2561, allocations: 0 / 0.7343 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/0.2562, allocations: 4 kB / 0.7343 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.2565, allocations: 31.91 kB / 0.7344 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.2566, allocations: 7.984 kB / 0.7344 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.2578, allocations: 71.98 kB / 0.7344 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.2581, allocations: 55.98 kB / 0.7345 GB, free: 3.25 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.0004235/0.2585, allocations: 171.9 kB / 0.7347 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2586, allocations: 23.72 kB / 0.7347 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.2588, allocations: 34.25 kB / 0.7347 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.2588, allocations: 3.938 kB / 0.7347 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2588, allocations: 3.938 kB / 0.7347 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2589, allocations: 0 / 0.7347 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.2606, allocations: 0.5606 MB / 0.7353 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.2607, allocations: 3.984 kB / 0.7353 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2608, allocations: 4 kB / 0.7353 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.2608, allocations: 0 / 0.7353 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.2609, allocations: 15.98 kB / 0.7353 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2609, allocations: 0 / 0.7353 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.2609, allocations: 7.984 kB / 0.7353 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009914/0.2619, allocations: 323 kB / 0.7356 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.2623, allocations: 156.6 kB / 0.7358 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.2625, allocations: 12 kB / 0.7358 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.263, allocations: 15.98 kB / 0.7358 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.2631, allocations: 15.97 kB / 0.7358 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.2632, allocations: 35.98 kB / 0.7358 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004385/0.2637, allocations: 213.9 kB / 0.736 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2637, allocations: 0 / 0.736 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000817/0.2645, allocations: 44 kB / 0.7361 GB, free: 1.527 MB / 0.5573 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.00156/0.2661, allocations: 0.8756 MB / 0.7369 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.2674, allocations: 338.8 kB / 0.7373 GB, free: 276 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2674, allocations: 4 kB / 0.7373 GB, free: 272 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.2678, allocations: 71.88 kB / 0.7373 GB, free: 200 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.2683, allocations: 16.88 kB / 0.7373 GB, free: 180 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.2712, allocations: 1.609 MB / 0.7389 GB, free: 14.49 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.2718, allocations: 0.7477 MB / 0.7396 GB, free: 13.71 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004046/0.2722, allocations: 37.42 kB / 0.7397 GB, free: 13.68 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.2725, allocations: 43.41 kB / 0.7397 GB, free: 13.63 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/0.2726, allocations: 0 / 0.7397 GB, free: 13.63 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.3066, allocations: 4.951 MB / 0.7446 GB, free: 8.797 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/0.3071, allocations: 193 kB / 0.7447 GB, free: 8.555 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/2.749, allocations: 0 / 0.7447 GB, free: 8.555 MB / 0.573 GB