Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadModel(Buildings): time 3.961/3.961, allocations: 433.3 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.424e-05, allocations: 8 kB / 0.5326 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4912, allocations: 98.7 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.6821, allocations: 125.9 MB / 0.7519 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.6823, allocations: 79.78 kB / 0.752 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0199/0.7023, allocations: 4.869 MB / 0.7567 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.309e-06/0.7023, allocations: 0 / 0.7567 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.74e-06/0.7023, allocations: 0 / 0.7567 GB, free: 12.7 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009809/0.7033, allocations: 0.5675 MB / 0.7573 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7034, allocations: 12.02 kB / 0.7573 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.7035, allocations: 27.77 kB / 0.7573 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.7037, allocations: 201.7 kB / 0.7575 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.7038, allocations: 12 kB / 0.7575 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.7039, allocations: 16 kB / 0.7575 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001703/0.704, allocations: 51.98 kB / 0.7576 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.7044, allocations: 149.5 kB / 0.7577 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7044, allocations: 0 / 0.7577 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.7044, allocations: 3.984 kB / 0.7577 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.513e-06/0.7045, allocations: 4 kB / 0.7577 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.7058, allocations: 0.5361 MB / 0.7583 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.7061, allocations: 122.7 kB / 0.7584 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.7062, allocations: 61.03 kB / 0.7584 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.7063, allocations: 8 kB / 0.7584 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.7068, allocations: 199.7 kB / 0.7586 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.049e-06/0.7068, allocations: 0 / 0.7586 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005635/0.7074, allocations: 213.2 kB / 0.7588 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.7074, allocations: 71.27 kB / 0.7589 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.7077, allocations: 208.5 kB / 0.7591 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/0.7078, allocations: 37.7 kB / 0.7591 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.7079, allocations: 96.77 kB / 0.7592 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.708, allocations: 47.5 kB / 0.7593 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.7081, allocations: 4 kB / 0.7593 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.7082, allocations: 322.8 kB / 0.7596 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.7085, allocations: 104.2 kB / 0.7597 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.7089, allocations: 146.2 kB / 0.7598 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.7092, allocations: 87.14 kB / 0.7599 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.003e-06/0.7092, allocations: 0 / 0.7599 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000883/0.7101, allocations: 323.7 kB / 0.7602 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/0.7102, allocations: 81.25 kB / 0.7603 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.381e-06/0.7102, allocations: 4.188 kB / 0.7603 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7102, allocations: 4 kB / 0.7603 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.7104, allocations: 31.86 kB / 0.7603 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.7105, allocations: 7.984 kB / 0.7603 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.7109, allocations: 39.83 kB / 0.7604 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.711, allocations: 43.97 kB / 0.7604 GB, free: 8.66 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0001773/0.7112, allocations: 132 kB / 0.7605 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.7113, allocations: 19.81 kB / 0.7606 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.7114, allocations: 21.95 kB / 0.7606 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.7114, allocations: 4 kB / 0.7606 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7114, allocations: 0 / 0.7606 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-06/0.7114, allocations: 3.984 kB / 0.7606 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009246/0.7124, allocations: 0.5377 MB / 0.7611 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.544e-06/0.7124, allocations: 4 kB / 0.7611 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.7124, allocations: 8 kB / 0.7611 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-06/0.7125, allocations: 0 / 0.7611 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.7125, allocations: 15.97 kB / 0.7611 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.443e-06/0.7125, allocations: 3.938 kB / 0.7611 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.386e-06/0.7125, allocations: 0 / 0.7611 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.7131, allocations: 308.8 kB / 0.7614 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.7133, allocations: 152.8 kB / 0.7616 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/0.7134, allocations: 19.98 kB / 0.7616 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.7136, allocations: 8 kB / 0.7616 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.7137, allocations: 15.97 kB / 0.7616 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.7138, allocations: 23.98 kB / 0.7617 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002054/0.714, allocations: 168.5 kB / 0.7618 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.46e-07/0.714, allocations: 0 / 0.7618 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000464/0.7145, allocations: 51.89 kB / 0.7619 GB, free: 7.09 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002115/0.7147, allocations: 130.1 kB / 0.762 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006899/0.7154, allocations: 346.8 kB / 0.7623 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.225e-06/0.7154, allocations: 4 kB / 0.7623 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.7156, allocations: 71.91 kB / 0.7624 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.7159, allocations: 32.3 kB / 0.7624 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.7166, allocations: 247.7 kB / 0.7627 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.717, allocations: 0.7397 MB / 0.7634 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.7172, allocations: 33.2 kB / 0.7634 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.7174, allocations: 31.42 kB / 0.7634 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of SimCode: time 1.4e-06/0.7174, allocations: 0 / 0.7634 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of Templates: time 0.01038/0.7278, allocations: 4.159 MB / 0.7675 GB, free: 1.258 MB / 0.6355 GB