Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadModel(Buildings): time 3.998/3.998, allocations: 433.3 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.644e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5492, allocations: 98.69 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.7631, allocations: 125.6 MB / 0.7515 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.7634, allocations: 67.95 kB / 0.7516 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02356/0.7869, allocations: 4.157 MB / 0.7557 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.281e-06/0.787, allocations: 0 / 0.7557 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.787, allocations: 4 kB / 0.7557 GB, free: 13.74 MB / 0.6355 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.0009519/0.788, allocations: 0.5477 MB / 0.7562 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.788, allocations: 12.02 kB / 0.7562 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.7882, allocations: 27.72 kB / 0.7562 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.7884, allocations: 199.8 kB / 0.7564 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.7884, allocations: 0 / 0.7564 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.774e-05/0.7885, allocations: 16 kB / 0.7564 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000158/0.7887, allocations: 47.98 kB / 0.7565 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.789, allocations: 129.5 kB / 0.7566 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.789, allocations: 0 / 0.7566 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.789, allocations: 4 kB / 0.7566 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.7891, allocations: 7.984 kB / 0.7566 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.7895, allocations: 281.8 kB / 0.7569 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.7898, allocations: 118.7 kB / 0.757 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.7899, allocations: 48.84 kB / 0.757 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.79, allocations: 3.984 kB / 0.757 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.7904, allocations: 197.8 kB / 0.7572 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.746e-06/0.7905, allocations: 0 / 0.7572 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005416/0.791, allocations: 205.2 kB / 0.7574 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.7911, allocations: 63.39 kB / 0.7575 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.7913, allocations: 191 kB / 0.7577 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.7914, allocations: 37.69 kB / 0.7577 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.7915, allocations: 88.92 kB / 0.7578 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.7916, allocations: 43.45 kB / 0.7578 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.7917, allocations: 4 kB / 0.7578 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.7918, allocations: 318.8 kB / 0.7581 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.7921, allocations: 88.2 kB / 0.7582 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.7924, allocations: 131.4 kB / 0.7584 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.7927, allocations: 76.59 kB / 0.7584 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.815e-06/0.7927, allocations: 0 / 0.7584 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000838/0.7935, allocations: 314 kB / 0.7587 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.7937, allocations: 75.39 kB / 0.7588 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.548e-06/0.7937, allocations: 0 / 0.7588 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.7937, allocations: 4 kB / 0.7588 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.7939, allocations: 27.91 kB / 0.7588 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.991e-06/0.7939, allocations: 4 kB / 0.7588 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.7944, allocations: 43.97 kB / 0.7589 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.7945, allocations: 43.98 kB / 0.7589 GB, free: 10.14 MB / 0.6355 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.0001856/0.7947, allocations: 127.1 kB / 0.759 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.7948, allocations: 19.81 kB / 0.7591 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.7948, allocations: 13.97 kB / 0.7591 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-06/0.7949, allocations: 4 kB / 0.7591 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7949, allocations: 3.984 kB / 0.7591 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.457e-06/0.7949, allocations: 0 / 0.7591 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009235/0.7958, allocations: 0.5025 MB / 0.7596 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-06/0.7958, allocations: 0 / 0.7596 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.7959, allocations: 15.92 kB / 0.7596 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7959, allocations: 0 / 0.7596 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.796, allocations: 11.98 kB / 0.7596 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-06/0.796, allocations: 0 / 0.7596 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-06/0.796, allocations: 0 / 0.7596 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.7965, allocations: 300.5 kB / 0.7599 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.7967, allocations: 136.8 kB / 0.76 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.7968, allocations: 11.98 kB / 0.76 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.7971, allocations: 4 kB / 0.76 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.7971, allocations: 15.97 kB / 0.76 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.7972, allocations: 27.98 kB / 0.7601 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001828/0.7974, allocations: 153.6 kB / 0.7602 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.96e-07/0.7974, allocations: 0 / 0.7602 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004672/0.7979, allocations: 43.98 kB / 0.7603 GB, free: 8.688 MB / 0.6355 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.0001945/0.7981, allocations: 135.3 kB / 0.7604 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000655/0.7988, allocations: 320.9 kB / 0.7607 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.029e-06/0.7988, allocations: 4 kB / 0.7607 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.7989, allocations: 59.92 kB / 0.7608 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.7992, allocations: 23.36 kB / 0.7608 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.7998, allocations: 221.8 kB / 0.761 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.8003, allocations: 0.7279 MB / 0.7617 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.8005, allocations: 33.2 kB / 0.7617 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.8006, allocations: 31.42 kB / 0.7618 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.586e-06/0.8006, allocations: 0 / 0.7618 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.009665/0.8103, allocations: 3.761 MB / 0.7654 GB, free: 3.328 MB / 0.6355 GB