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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.953/3.953, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.99e-05, allocations: 2.719 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2133, allocations: 98.74 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.4434, allocations: 126.3 MB / 0.758 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4437, allocations: 67.97 kB / 0.7581 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02188/0.4656, allocations: 4.185 MB / 0.7622 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4657, allocations: 0 / 0.7622 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.4657, allocations: 4 kB / 0.7622 GB, free: 15.15 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.001206/0.4669, allocations: 0.5555 MB / 0.7627 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.467, allocations: 8.031 kB / 0.7627 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.467, allocations: 34.56 kB / 0.7628 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.4672, allocations: 39.58 kB / 0.7628 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.4674, allocations: 184 kB / 0.763 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.4674, allocations: 12 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/0.4675, allocations: 23.98 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.4679, allocations: 133.5 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.468, allocations: 3.938 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.468, allocations: 8 kB / 0.7632 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.468, allocations: 4 kB / 0.7632 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.4682, allocations: 43.92 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.4688, allocations: 317.2 kB / 0.7635 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4692, allocations: 118.7 kB / 0.7636 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4694, allocations: 52.84 kB / 0.7637 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.4694, allocations: 7.984 kB / 0.7637 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005873/0.47, allocations: 205.4 kB / 0.7639 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.577e-06/0.47, allocations: 0 / 0.7639 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0008355/0.4709, allocations: 209.3 kB / 0.7641 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.471, allocations: 67.33 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.4714, allocations: 196.2 kB / 0.7643 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.4715, allocations: 37.7 kB / 0.7644 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4717, allocations: 92.91 kB / 0.7644 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.4717, allocations: 47.44 kB / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.4718, allocations: 8 kB / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.472, allocations: 326.8 kB / 0.7648 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.4724, allocations: 92.22 kB / 0.7649 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.4728, allocations: 146.4 kB / 0.765 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.4732, allocations: 148.1 kB / 0.7652 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4733, allocations: 0 / 0.7652 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001391/0.4747, allocations: 403.9 kB / 0.7656 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.4749, allocations: 71.39 kB / 0.7656 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.475, allocations: 0 / 0.7656 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.475, allocations: 4 kB / 0.7656 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.4756, allocations: 31.91 kB / 0.7657 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.4756, allocations: 4.188 kB / 0.7657 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4768, allocations: 47.88 kB / 0.7657 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/0.4772, allocations: 39.98 kB / 0.7658 GB, free: 11.19 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.0004062/0.4776, allocations: 139 kB / 0.7659 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.4778, allocations: 19.81 kB / 0.7659 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.478, allocations: 29.64 kB / 0.7659 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.478, allocations: 7.938 kB / 0.7659 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.478, allocations: 0 / 0.7659 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.478, allocations: 3.984 kB / 0.7659 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.4804, allocations: 0.5357 MB / 0.7665 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.4805, allocations: 0 / 0.7665 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.4807, allocations: 4 kB / 0.7665 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.4807, allocations: 4 kB / 0.7665 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.4808, allocations: 11.98 kB / 0.7665 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4808, allocations: 0 / 0.7665 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.4808, allocations: 3.984 kB / 0.7665 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4819, allocations: 307.1 kB / 0.7668 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/0.4824, allocations: 136.8 kB / 0.7669 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.4826, allocations: 11.98 kB / 0.7669 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.4832, allocations: 7.938 kB / 0.7669 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4834, allocations: 23.97 kB / 0.767 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/0.4835, allocations: 23.98 kB / 0.767 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003973/0.4839, allocations: 160.5 kB / 0.7671 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.91e-07/0.4839, allocations: 0 / 0.7671 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001101/0.485, allocations: 52 kB / 0.7672 GB, free: 9.633 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.001729/0.4868, allocations: 0.8598 MB / 0.768 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.4882, allocations: 346.7 kB / 0.7684 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4882, allocations: 0 / 0.7684 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.4886, allocations: 70.11 kB / 0.7684 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.4891, allocations: 24.64 kB / 0.7684 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4902, allocations: 284.4 kB / 0.7687 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.4907, allocations: 0.7282 MB / 0.7694 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000193/0.4909, allocations: 33.19 kB / 0.7695 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.4911, allocations: 43.41 kB / 0.7695 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.4911, allocations: 0 / 0.7695 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.5332, allocations: 4.972 MB / 0.7744 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/0.5336, allocations: 169.2 kB / 0.7745 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/2.956, allocations: 0 / 0.7745 GB, free: 2.039 MB / 0.6511 GB