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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0155/0.01551, allocations: 107.3 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001918/0.001917, allocations: 182.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.187/2.187, allocations: 194.5 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.48/2.48, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007047/0.0007049, allocations: 19.98 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.7674, allocations: 98.71 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002087/0.7695, allocations: 1.155 MB / 0.6845 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.7708, allocations: 381.4 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.7709, allocations: 0 / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.284e-05/0.771, allocations: 1.969 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.7711, allocations: 20.5 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.7722, allocations: 207.3 kB / 0.6851 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.7726, allocations: 149.3 kB / 0.6853 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.7727, allocations: 3.891 kB / 0.6853 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.7732, allocations: 155.1 kB / 0.6854 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.7735, allocations: 115.8 kB / 0.6855 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.7736, allocations: 8.781 kB / 0.6855 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.7737, allocations: 10.38 kB / 0.6856 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.7738, allocations: 61.11 kB / 0.6856 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.7739, allocations: 62.2 kB / 0.6857 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.7743, allocations: 168.3 kB / 0.6858 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7743, allocations: 4 kB / 0.6858 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7743, allocations: 0 / 0.6858 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7743, allocations: 0 / 0.6858 GB, free: 15.43 MB / 0.5261 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.001472/0.7758, allocations: 0.5671 MB / 0.6864 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7759, allocations: 9.281 kB / 0.6864 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.888e-05/0.776, allocations: 41.02 kB / 0.6864 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.7761, allocations: 27.06 kB / 0.6865 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.7765, allocations: 238.3 kB / 0.6867 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.7766, allocations: 16.78 kB / 0.6867 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.7767, allocations: 19.36 kB / 0.6867 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.7772, allocations: 135.2 kB / 0.6869 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7772, allocations: 0 / 0.6869 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.7773, allocations: 6.188 kB / 0.6869 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7773, allocations: 1.188 kB / 0.6869 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.7775, allocations: 51.64 kB / 0.6869 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.778, allocations: 302.6 kB / 0.6872 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.7785, allocations: 124.5 kB / 0.6873 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.7785, allocations: 2.125 kB / 0.6873 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000672/0.7792, allocations: 207 kB / 0.6875 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.116e-06/0.7792, allocations: 0 / 0.6875 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.00102/0.7803, allocations: 260.2 kB / 0.6878 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.7803, allocations: 65.08 kB / 0.6878 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.7807, allocations: 222.5 kB / 0.688 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.7808, allocations: 41.91 kB / 0.6881 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.7809, allocations: 87.53 kB / 0.6882 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.781, allocations: 42.27 kB / 0.6882 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.7811, allocations: 9.516 kB / 0.6882 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.7812, allocations: 329.2 kB / 0.6885 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.7815, allocations: 90.09 kB / 0.6886 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.7819, allocations: 149 kB / 0.6888 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.7823, allocations: 148.6 kB / 0.6889 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7823, allocations: 1.438 kB / 0.6889 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001152/0.7835, allocations: 405.6 kB / 0.6893 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/0.7836, allocations: 74.62 kB / 0.6894 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.7836, allocations: 2.281 kB / 0.6894 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.7837, allocations: 2.219 kB / 0.6894 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.784, allocations: 31.17 kB / 0.6894 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.784, allocations: 2.828 kB / 0.6894 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.7851, allocations: 74.31 kB / 0.6895 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.7853, allocations: 42.55 kB / 0.6895 GB, free: 12.82 MB / 0.5261 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.0003494/0.7856, allocations: 162.3 kB / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.7857, allocations: 22.73 kB / 0.6897 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.212e-05/0.7858, allocations: 23.7 kB / 0.6897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7859, allocations: 6 kB / 0.6897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.7859, allocations: 0.6094 kB / 0.6897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.7859, allocations: 1.656 kB / 0.6897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.7871, allocations: 0.5359 MB / 0.6902 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.7872, allocations: 0.7031 kB / 0.6902 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.7873, allocations: 12.08 kB / 0.6902 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.7873, allocations: 4 kB / 0.6902 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.7874, allocations: 11.53 kB / 0.6903 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.7874, allocations: 5.172 kB / 0.6903 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7874, allocations: 0 / 0.6903 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.7881, allocations: 310.5 kB / 0.6906 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.7884, allocations: 146.3 kB / 0.6907 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/0.7884, allocations: 10.62 kB / 0.6907 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.7889, allocations: 19.02 kB / 0.6907 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.789, allocations: 17.33 kB / 0.6907 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.789, allocations: 23.38 kB / 0.6908 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002523/0.7893, allocations: 167 kB / 0.6909 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7893, allocations: 0 / 0.6909 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006163/0.79, allocations: 46.2 kB / 0.691 GB, free: 11.82 MB / 0.5261 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.001006/0.791, allocations: 0.8631 MB / 0.6918 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009444/0.7919, allocations: 341.4 kB / 0.6921 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.792, allocations: 0 / 0.6921 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.7923, allocations: 70.66 kB / 0.6922 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.7927, allocations: 14.66 kB / 0.6922 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.7943, allocations: 1.514 MB / 0.6937 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.7946, allocations: 0.7301 MB / 0.6944 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.7949, allocations: 30.92 kB / 0.6944 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.7951, allocations: 44.17 kB / 0.6945 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/0.7951, allocations: 0 / 0.6945 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.8313, allocations: 4.543 MB / 0.6989 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.8316, allocations: 193.8 kB / 0.6991 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.508, allocations: 4 kB / 0.6991 GB, free: 7.078 MB / 0.5261 GB