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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadModel(Buildings): time 4.512/4.512, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.926e-05, allocations: 4 kB / 0.5325 GB, free: 1.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5638, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.7623, allocations: 125.6 MB / 0.7516 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.7626, allocations: 75.78 kB / 0.7517 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.7811, allocations: 4.172 MB / 0.7557 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.637e-06/0.7811, allocations: 0 / 0.7557 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.337e-06/0.7811, allocations: 4 kB / 0.7557 GB, free: 13.67 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.0009955/0.7821, allocations: 0.5361 MB / 0.7563 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7822, allocations: 8.031 kB / 0.7563 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.7823, allocations: 31.66 kB / 0.7563 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.7825, allocations: 191.9 kB / 0.7565 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.7826, allocations: 7.984 kB / 0.7565 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.12e-05/0.7827, allocations: 16 kB / 0.7565 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001449/0.7828, allocations: 39.98 kB / 0.7565 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.7832, allocations: 133.5 kB / 0.7567 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.592e-06/0.7832, allocations: 0 / 0.7567 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.7832, allocations: 0 / 0.7567 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.7832, allocations: 7.984 kB / 0.7567 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.7837, allocations: 285.8 kB / 0.757 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.784, allocations: 118.7 kB / 0.7571 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.7841, allocations: 52.84 kB / 0.7571 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.7842, allocations: 0 / 0.7571 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.7846, allocations: 192.2 kB / 0.7573 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.74e-06/0.7847, allocations: 0 / 0.7573 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005482/0.7852, allocations: 199 kB / 0.7575 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.7853, allocations: 75.33 kB / 0.7576 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.7856, allocations: 187 kB / 0.7577 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.087e-05/0.7856, allocations: 33.7 kB / 0.7578 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.7857, allocations: 88.91 kB / 0.7579 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.7858, allocations: 47.44 kB / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.7859, allocations: 4 kB / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7861, allocations: 318.8 kB / 0.7582 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.7863, allocations: 84.22 kB / 0.7583 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.7867, allocations: 134.2 kB / 0.7584 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.7869, allocations: 79.03 kB / 0.7585 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-06/0.7869, allocations: 3.938 kB / 0.7585 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000832/0.7878, allocations: 303.7 kB / 0.7588 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/0.7879, allocations: 79.33 kB / 0.7589 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-06/0.7879, allocations: 0 / 0.7589 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7879, allocations: 4 kB / 0.7589 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.7881, allocations: 19.98 kB / 0.7589 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7882, allocations: 11.92 kB / 0.7589 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.7886, allocations: 40.08 kB / 0.7589 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.7887, allocations: 47.97 kB / 0.759 GB, free: 10.09 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.0001826/0.7889, allocations: 122.5 kB / 0.7591 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.789, allocations: 19.81 kB / 0.7591 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.7891, allocations: 25.89 kB / 0.7591 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.805e-06/0.7891, allocations: 4 kB / 0.7591 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.936e-06/0.7891, allocations: 4 kB / 0.7591 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.045e-06/0.7891, allocations: 3.984 kB / 0.7592 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009433/0.7901, allocations: 0.4986 MB / 0.7596 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-06/0.7901, allocations: 0 / 0.7596 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.7902, allocations: 7.938 kB / 0.7596 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-06/0.7902, allocations: 4 kB / 0.7597 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.7902, allocations: 11.97 kB / 0.7597 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.887e-06/0.7903, allocations: 4 kB / 0.7597 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.7903, allocations: 0 / 0.7597 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.7908, allocations: 305.2 kB / 0.76 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.791, allocations: 132.8 kB / 0.7601 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.7911, allocations: 11.98 kB / 0.7601 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.7913, allocations: 7.984 kB / 0.7601 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.7914, allocations: 19.97 kB / 0.7601 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.7915, allocations: 23.98 kB / 0.7601 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001861/0.7917, allocations: 153.6 kB / 0.7603 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.61e-07/0.7917, allocations: 4 kB / 0.7603 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004823/0.7922, allocations: 44 kB / 0.7603 GB, free: 8.625 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.0001995/0.7924, allocations: 125.7 kB / 0.7605 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000661/0.7931, allocations: 318.8 kB / 0.7608 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7931, allocations: 0 / 0.7608 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7933, allocations: 70.09 kB / 0.7608 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.7936, allocations: 21 kB / 0.7608 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.7942, allocations: 217.4 kB / 0.7611 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.7946, allocations: 0.7279 MB / 0.7618 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.7948, allocations: 29.22 kB / 0.7618 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.795, allocations: 39.41 kB / 0.7618 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of SimCode: time 1.677e-06/0.795, allocations: 0 / 0.7618 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of Templates: time 0.009944/0.805, allocations: 3.752 MB / 0.7655 GB, free: 3.277 MB / 0.6355 GB