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.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_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.01545/0.01546, allocations: 88.19 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.00202/0.00202, allocations: 173.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.117/2.117, 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.298/2.298, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004756, allocations: 16.72 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2519, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002121/0.2541, allocations: 1.194 MB / 0.7292 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.2553, allocations: 395.8 kB / 0.7296 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.2554, allocations: 4 kB / 0.7296 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.2555, allocations: 7.922 kB / 0.7296 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2556, allocations: 23.95 kB / 0.7296 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.2566, allocations: 203.5 kB / 0.7298 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.2569, allocations: 151.8 kB / 0.73 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.257, allocations: 11.98 kB / 0.73 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.2574, allocations: 167.7 kB / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.2577, allocations: 123.7 kB / 0.7303 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.2578, allocations: 8 kB / 0.7303 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.771e-05/0.2579, allocations: 12 kB / 0.7303 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.258, allocations: 75.78 kB / 0.7304 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2582, allocations: 69.56 kB / 0.7304 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.2585, allocations: 203.8 kB / 0.7306 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2585, allocations: 3.938 kB / 0.7306 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2585, allocations: 0 / 0.7306 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.2586, allocations: 0 / 0.7306 GB, free: 7.496 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.001514/0.2601, allocations: 0.6103 MB / 0.7312 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2601, allocations: 8.031 kB / 0.7312 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.2602, allocations: 38.56 kB / 0.7313 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2604, allocations: 43.56 kB / 0.7313 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.2608, allocations: 250.6 kB / 0.7315 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.2609, allocations: 7.984 kB / 0.7315 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.261, allocations: 24 kB / 0.7316 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.2615, allocations: 153.5 kB / 0.7317 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2615, allocations: 0 / 0.7317 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.2615, allocations: 7.922 kB / 0.7317 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2616, allocations: 0 / 0.7317 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2618, allocations: 47.94 kB / 0.7318 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.2623, allocations: 305.3 kB / 0.7321 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.2627, allocations: 134.7 kB / 0.7322 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.2628, allocations: 7.938 kB / 0.7322 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006732/0.2635, allocations: 211.6 kB / 0.7324 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.365e-06/0.2635, allocations: 0 / 0.7324 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0009272/0.2644, allocations: 273 kB / 0.7327 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.2645, allocations: 63.38 kB / 0.7327 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.2649, allocations: 286.9 kB / 0.733 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.265, allocations: 37.7 kB / 0.733 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.2651, allocations: 93.12 kB / 0.7331 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.2652, allocations: 43.45 kB / 0.7332 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.2653, allocations: 8 kB / 0.7332 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2654, allocations: 334.8 kB / 0.7335 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.2658, allocations: 88.17 kB / 0.7336 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.2662, allocations: 147.5 kB / 0.7337 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.2666, allocations: 154.9 kB / 0.7339 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2666, allocations: 0 / 0.7339 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001123/0.2678, allocations: 419.1 kB / 0.7343 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/0.2679, allocations: 78.5 kB / 0.7343 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2679, allocations: 0 / 0.7343 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2679, allocations: 4 kB / 0.7343 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2682, allocations: 28.11 kB / 0.7344 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2682, allocations: 7.984 kB / 0.7344 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/0.2691, allocations: 67.8 kB / 0.7344 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.2693, allocations: 51.98 kB / 0.7345 GB, free: 3.23 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.0002673/0.2696, allocations: 183.9 kB / 0.7347 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.2696, allocations: 27.7 kB / 0.7347 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.2697, allocations: 30.2 kB / 0.7347 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.2697, allocations: 7.984 kB / 0.7347 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2697, allocations: 0 / 0.7347 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2698, allocations: 0 / 0.7347 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2709, allocations: 0.5606 MB / 0.7353 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2709, allocations: 0 / 0.7353 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.271, allocations: 11.98 kB / 0.7353 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.271, allocations: 0 / 0.7353 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.2711, allocations: 11.98 kB / 0.7353 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2711, allocations: 4 kB / 0.7353 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2711, allocations: 0 / 0.7353 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.2718, allocations: 323 kB / 0.7356 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.2721, allocations: 160.6 kB / 0.7358 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.2722, allocations: 15.98 kB / 0.7358 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.2725, allocations: 15.98 kB / 0.7358 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.2726, allocations: 11.98 kB / 0.7358 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.2727, allocations: 31.97 kB / 0.7358 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002884/0.273, allocations: 205.9 kB / 0.736 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-07/0.273, allocations: 0 / 0.736 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004751/0.2735, allocations: 55.98 kB / 0.7361 GB, free: 1.496 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.001045/0.2745, allocations: 0.8677 MB / 0.7369 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008647/0.2754, allocations: 338.8 kB / 0.7373 GB, free: 252 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2754, allocations: 0 / 0.7373 GB, free: 252 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2757, allocations: 76.19 kB / 0.7373 GB, free: 176 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.276, allocations: 23.12 kB / 0.7373 GB, free: 152 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.2779, allocations: 1.606 MB / 0.7389 GB, free: 14.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.2783, allocations: 0.7438 MB / 0.7396 GB, free: 13.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.2786, allocations: 41.42 kB / 0.7397 GB, free: 13.65 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.2788, allocations: 47.42 kB / 0.7397 GB, free: 13.61 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/0.2788, allocations: 0 / 0.7397 GB, free: 13.61 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.306, allocations: 4.949 MB / 0.7446 GB, free: 8.773 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/0.3064, allocations: 202.1 kB / 0.7448 GB, free: 8.523 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/2.802, allocations: 0 / 0.7448 GB, free: 8.523 MB / 0.573 GB