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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadModel(Buildings): time 3.967/3.967, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.24e-05, allocations: 8 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5415, allocations: 98.69 MB / 0.6289 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.7716, allocations: 125.6 MB / 0.7516 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/0.7721, allocations: 71.95 kB / 0.7517 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03236/0.8044, allocations: 4.162 MB / 0.7557 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.163e-06/0.8045, allocations: 8 kB / 0.7557 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.8045, allocations: 0 / 0.7557 GB, free: 13.72 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.001499/0.8061, allocations: 0.5399 MB / 0.7563 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.8061, allocations: 8.031 kB / 0.7563 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.8063, allocations: 27.72 kB / 0.7563 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.8066, allocations: 199.8 kB / 0.7565 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.8067, allocations: 4 kB / 0.7565 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.8069, allocations: 20 kB / 0.7565 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002494/0.8072, allocations: 47.92 kB / 0.7565 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.8077, allocations: 125.5 kB / 0.7567 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.8077, allocations: 0 / 0.7567 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.8078, allocations: 7.969 kB / 0.7567 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.8078, allocations: 4 kB / 0.7567 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.8085, allocations: 281.8 kB / 0.7569 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.809, allocations: 118.7 kB / 0.7571 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.8092, allocations: 52.84 kB / 0.7571 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.8093, allocations: 0 / 0.7571 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007782/0.8101, allocations: 191.2 kB / 0.7573 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 4.622e-06/0.8101, allocations: 0 / 0.7573 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0009275/0.8111, allocations: 210.5 kB / 0.7575 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.8112, allocations: 59.39 kB / 0.7575 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.8116, allocations: 195 kB / 0.7577 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.8117, allocations: 33.69 kB / 0.7578 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.8119, allocations: 88.92 kB / 0.7579 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.812, allocations: 43.45 kB / 0.7579 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.8121, allocations: 4 kB / 0.7579 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.8123, allocations: 318.8 kB / 0.7582 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.8128, allocations: 84.2 kB / 0.7583 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.8134, allocations: 138.2 kB / 0.7584 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.8137, allocations: 74.91 kB / 0.7585 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.126e-06/0.8138, allocations: 0 / 0.7585 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001484/0.8153, allocations: 311.6 kB / 0.7588 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.8154, allocations: 71.39 kB / 0.7588 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8155, allocations: 0 / 0.7588 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.8155, allocations: 4 kB / 0.7589 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.8159, allocations: 31.91 kB / 0.7589 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.8159, allocations: 4 kB / 0.7589 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.8167, allocations: 44.06 kB / 0.7589 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.8169, allocations: 39.98 kB / 0.759 GB, free: 10.13 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.0002705/0.8172, allocations: 134.4 kB / 0.7591 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.8173, allocations: 15.81 kB / 0.7591 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.8175, allocations: 21.97 kB / 0.7591 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.8175, allocations: 3.984 kB / 0.7591 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.169e-06/0.8175, allocations: 0 / 0.7591 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.553e-06/0.8175, allocations: 4 kB / 0.7591 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.8191, allocations: 0.5048 MB / 0.7596 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.8191, allocations: 0 / 0.7596 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.987e-05/0.8192, allocations: 11.98 kB / 0.7596 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.8193, allocations: 4 kB / 0.7596 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.8194, allocations: 15.92 kB / 0.7597 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.56e-06/0.8194, allocations: 0 / 0.7597 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8194, allocations: 0 / 0.7597 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.8203, allocations: 299.1 kB / 0.7599 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.8206, allocations: 136.8 kB / 0.7601 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.8208, allocations: 11.98 kB / 0.7601 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.8212, allocations: 8 kB / 0.7601 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.8213, allocations: 15.97 kB / 0.7601 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.764e-05/0.8214, allocations: 23.98 kB / 0.7601 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002909/0.8217, allocations: 161.5 kB / 0.7603 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.267e-06/0.8217, allocations: 0 / 0.7603 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008561/0.8226, allocations: 51.98 kB / 0.7603 GB, free: 8.652 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.0002781/0.8229, allocations: 114.3 kB / 0.7604 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.824, allocations: 324.7 kB / 0.7608 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.61e-06/0.8241, allocations: 0 / 0.7608 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.8243, allocations: 67.97 kB / 0.7608 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.8248, allocations: 16.98 kB / 0.7608 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008854/0.8257, allocations: 217.4 kB / 0.761 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.8263, allocations: 0.7356 MB / 0.7618 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003129/0.8267, allocations: 37.19 kB / 0.7618 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.8269, allocations: 27.42 kB / 0.7618 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of SimCode: time 2.514e-06/0.827, allocations: 4 kB / 0.7618 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of Templates: time 0.01668/0.8437, allocations: 3.756 MB / 0.7655 GB, free: 3.309 MB / 0.6355 GB