Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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.3/package.mo): time 0.0107/0.0107, allocations: 89.17 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.001191/0.001191, allocations: 171.8 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.342/2.342, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.454/2.454, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004987, allocations: 11.88 kB / 0.6244 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2451, allocations: 106.2 MB / 0.7281 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002613/0.2477, allocations: 1.375 MB / 0.7294 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2492, allocations: 443.7 kB / 0.7299 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.2493, allocations: 4 kB / 0.7299 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.2493, allocations: 7.922 kB / 0.7299 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.2495, allocations: 31.89 kB / 0.7299 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009807/0.2505, allocations: 211.5 kB / 0.7301 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.2509, allocations: 179.7 kB / 0.7303 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.251, allocations: 25.42 kB / 0.7303 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.2515, allocations: 175.5 kB / 0.7305 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2518, allocations: 123.7 kB / 0.7306 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-05/0.2519, allocations: 12 kB / 0.7306 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.252, allocations: 8 kB / 0.7306 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.2522, allocations: 83.72 kB / 0.7307 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2523, allocations: 77.58 kB / 0.7308 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.2528, allocations: 319.5 kB / 0.7311 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2528, allocations: 0 / 0.7311 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2528, allocations: 0 / 0.7311 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2528, allocations: 0 / 0.7311 GB, free: 7.043 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001648/0.2545, allocations: 0.6414 MB / 0.7317 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.2545, allocations: 16.03 kB / 0.7317 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.103e-05/0.2546, allocations: 34.56 kB / 0.7317 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.2548, allocations: 39.61 kB / 0.7318 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.2553, allocations: 275.1 kB / 0.732 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.2554, allocations: 12 kB / 0.7321 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.2555, allocations: 19.98 kB / 0.7321 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.2561, allocations: 169.5 kB / 0.7322 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2561, allocations: 0 / 0.7322 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.2561, allocations: 4 kB / 0.7322 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2562, allocations: 0 / 0.7322 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.2564, allocations: 71.89 kB / 0.7323 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.2583, allocations: 0.555 MB / 0.7328 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.2588, allocations: 146.6 kB / 0.733 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.2589, allocations: 0 / 0.733 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007554/0.2596, allocations: 236.2 kB / 0.7332 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 4.639e-06/0.2597, allocations: 3.938 kB / 0.7332 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.00101/0.2607, allocations: 281.1 kB / 0.7335 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.2608, allocations: 59.41 kB / 0.7335 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.2613, allocations: 316.4 kB / 0.7338 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.2614, allocations: 33.7 kB / 0.7339 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2615, allocations: 109 kB / 0.734 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.2616, allocations: 43.45 kB / 0.734 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.2617, allocations: 12 kB / 0.734 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2618, allocations: 322.8 kB / 0.7343 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.2622, allocations: 104.2 kB / 0.7344 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.2627, allocations: 163.4 kB / 0.7346 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.2631, allocations: 162.9 kB / 0.7347 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2631, allocations: 0 / 0.7347 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001262/0.2644, allocations: 435.2 kB / 0.7352 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.2645, allocations: 82.52 kB / 0.7352 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2646, allocations: 3.953 kB / 0.7352 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.2646, allocations: 8.188 kB / 0.7353 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.2649, allocations: 27.91 kB / 0.7353 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2649, allocations: 7.938 kB / 0.7353 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/0.2659, allocations: 63.86 kB / 0.7353 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.266, allocations: 55.98 kB / 0.7354 GB, free: 2.285 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003615/0.2664, allocations: 193.7 kB / 0.7356 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.2665, allocations: 27.62 kB / 0.7356 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.811e-05/0.2666, allocations: 34.36 kB / 0.7356 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2666, allocations: 3.953 kB / 0.7357 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.2666, allocations: 4 kB / 0.7357 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2666, allocations: 0 / 0.7357 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.2679, allocations: 0.5958 MB / 0.7362 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.268, allocations: 3.984 kB / 0.7362 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.2681, allocations: 15.95 kB / 0.7363 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2681, allocations: 0 / 0.7363 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.2681, allocations: 7.984 kB / 0.7363 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.2681, allocations: 4 kB / 0.7363 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2681, allocations: 3.938 kB / 0.7363 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.2689, allocations: 327.1 kB / 0.7366 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.2692, allocations: 180.6 kB / 0.7368 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.2693, allocations: 23.94 kB / 0.7368 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2697, allocations: 7.984 kB / 0.7368 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.2698, allocations: 27.86 kB / 0.7368 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.2699, allocations: 27.97 kB / 0.7368 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003497/0.2702, allocations: 227 kB / 0.7371 GB, free: 500 kB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2703, allocations: 0 / 0.7371 GB, free: 500 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005117/0.2708, allocations: 52 kB / 0.7371 GB, free: 448 kB / 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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/0.272, allocations: 0.8889 MB / 0.738 GB, free: 15.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009623/0.273, allocations: 366.7 kB / 0.7383 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.273, allocations: 384 / 0.7383 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.2733, allocations: 79.91 kB / 0.7384 GB, free: 15.06 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.2737, allocations: 40.52 kB / 0.7384 GB, free: 15.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2758, allocations: 1.647 MB / 0.74 GB, free: 13.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.2763, allocations: 0.7656 MB / 0.7408 GB, free: 12.51 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002581/0.2766, allocations: 41.42 kB / 0.7408 GB, free: 12.47 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.2769, allocations: 46.52 kB / 0.7409 GB, free: 12.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/0.2769, allocations: 0 / 0.7409 GB, free: 12.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.3101, allocations: 5.492 MB / 0.7462 GB, free: 7.105 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/0.3105, allocations: 228.1 kB / 0.7465 GB, free: 6.855 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/2.959, allocations: 0 / 0.7465 GB, free: 6.855 MB / 0.573 GB