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.CalendarTimeMonths.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.967/3.967, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.409e-05, allocations: 4.453 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.4511, allocations: 126.2 MB / 0.758 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.4515, allocations: 71.95 kB / 0.758 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02132/0.4728, allocations: 4.171 MB / 0.7621 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4729, allocations: 0 / 0.7621 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.4729, allocations: 4 kB / 0.7621 GB, free: 15.27 MB / 0.6511 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.001092/0.474, allocations: 0.5533 MB / 0.7627 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4741, allocations: 8.031 kB / 0.7627 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.4742, allocations: 46.55 kB / 0.7627 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4743, allocations: 27.72 kB / 0.7627 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4744, allocations: 187.9 kB / 0.7629 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.4745, allocations: 11.98 kB / 0.7629 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4746, allocations: 19.98 kB / 0.763 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.475, allocations: 141.5 kB / 0.7631 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4751, allocations: 0 / 0.7631 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.4751, allocations: 4 kB / 0.7631 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.4751, allocations: 4 kB / 0.7631 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.4753, allocations: 39.98 kB / 0.7631 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.4758, allocations: 321.2 kB / 0.7634 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.4762, allocations: 126.7 kB / 0.7636 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.4764, allocations: 52.84 kB / 0.7636 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.4764, allocations: 4 kB / 0.7636 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005115/0.4769, allocations: 205.7 kB / 0.7638 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.344e-06/0.477, allocations: 0 / 0.7638 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006548/0.4776, allocations: 209.3 kB / 0.764 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.4777, allocations: 63.41 kB / 0.7641 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.478, allocations: 192.2 kB / 0.7643 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.4781, allocations: 41.69 kB / 0.7643 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.4781, allocations: 88.92 kB / 0.7644 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.4782, allocations: 51.44 kB / 0.7644 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.4783, allocations: 8 kB / 0.7644 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4784, allocations: 326.8 kB / 0.7647 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.4788, allocations: 96.2 kB / 0.7648 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.4792, allocations: 142.4 kB / 0.765 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.4795, allocations: 149.6 kB / 0.7651 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4796, allocations: 0 / 0.7651 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001086/0.4807, allocations: 399.1 kB / 0.7655 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/0.4808, allocations: 79.58 kB / 0.7656 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4808, allocations: 3.938 kB / 0.7656 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4808, allocations: 4 kB / 0.7656 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.4811, allocations: 23.97 kB / 0.7656 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.4811, allocations: 7.938 kB / 0.7656 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.4817, allocations: 43.88 kB / 0.7657 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.4819, allocations: 43.98 kB / 0.7657 GB, free: 11.3 MB / 0.6511 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 () * 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.0001852/0.4821, allocations: 139.1 kB / 0.7658 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.4821, allocations: 19.81 kB / 0.7658 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.4822, allocations: 21.59 kB / 0.7659 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4822, allocations: 11.92 kB / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4822, allocations: 0 / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4823, allocations: 0 / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4833, allocations: 0.5353 MB / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4833, allocations: 3.938 kB / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.4834, allocations: 7.938 kB / 0.7664 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.4834, allocations: 4 kB / 0.7664 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.4835, allocations: 15.97 kB / 0.7664 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4835, allocations: 0 / 0.7664 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4835, allocations: 0 / 0.7664 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.4841, allocations: 307.1 kB / 0.7667 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.4843, allocations: 132.8 kB / 0.7669 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.785e-05/0.4844, allocations: 19.98 kB / 0.7669 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.4847, allocations: 8 kB / 0.7669 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.4848, allocations: 15.97 kB / 0.7669 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.4849, allocations: 23.98 kB / 0.7669 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002005/0.4851, allocations: 164.5 kB / 0.7671 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4851, allocations: 0 / 0.7671 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004325/0.4855, allocations: 51.98 kB / 0.7671 GB, free: 9.75 MB / 0.6511 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) * 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.0009576/0.4865, allocations: 0.8636 MB / 0.768 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007959/0.4873, allocations: 346.7 kB / 0.7683 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4873, allocations: 0 / 0.7683 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.4875, allocations: 66.11 kB / 0.7684 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.4879, allocations: 25.03 kB / 0.7684 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/0.4888, allocations: 280.4 kB / 0.7687 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.4891, allocations: 0.7282 MB / 0.7694 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000177/0.4893, allocations: 25.22 kB / 0.7694 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4895, allocations: 51.41 kB / 0.7694 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.4895, allocations: 0 / 0.7694 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.5175, allocations: 4.969 MB / 0.7743 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/0.5179, allocations: 164.9 kB / 0.7744 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.016, allocations: 4 kB / 0.7744 GB, free: 2.16 MB / 0.6511 GB