Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01772/0.01773, allocations: 221.5 kB / 15.17 MB, free: 5.93 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.001511/0.001511, allocations: 176.5 kB / 16.06 MB, free: 5.832 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 3.965/3.965, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.322/4.322, allocations: 472.3 MB / 0.9018 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 16 kB / 1.008 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5933, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002564/0.5959, allocations: 1.36 MB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.5973, allocations: 428.2 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.5974, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.5975, allocations: 9.453 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.5977, allocations: 18.2 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.5987, allocations: 212.6 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.5992, allocations: 300.3 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.5993, allocations: 26.41 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.5997, allocations: 161.2 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.6, allocations: 122.8 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.785e-05/0.6001, allocations: 9.312 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.6002, allocations: 9.438 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.6004, allocations: 73.52 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.6005, allocations: 67.84 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.601, allocations: 275.3 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.836e-06/0.601, allocations: 0 / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.878e-06/0.601, allocations: 0 / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.6011, allocations: 1.312 kB / 1.107 GB, free: 211.2 MB / 0.7292 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.001447/0.6025, allocations: 0.5946 MB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6026, allocations: 8.594 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.6028, allocations: 36.09 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.6032, allocations: 249.7 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.6033, allocations: 14.06 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.6035, allocations: 25.53 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.6041, allocations: 163.2 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6041, allocations: 1.062 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.6042, allocations: 4.938 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-06/0.6042, allocations: 1.875 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.6046, allocations: 58.41 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.6065, allocations: 0.5391 MB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.6071, allocations: 126.9 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.6075, allocations: 65.7 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.6075, allocations: 1.562 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009327/0.6084, allocations: 217.4 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 5.892e-06/0.6085, allocations: 0 / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.001561/0.6101, allocations: 272.1 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.6102, allocations: 69.75 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.6108, allocations: 246.2 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.6109, allocations: 37.8 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.6111, allocations: 108.9 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6112, allocations: 43.48 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.6113, allocations: 8.344 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.6114, allocations: 322.5 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.6121, allocations: 100.2 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/0.6128, allocations: 159.4 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.6135, allocations: 162 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.479e-06/0.6135, allocations: 5.312 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001997/0.6156, allocations: 420.8 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.6158, allocations: 75.33 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6158, allocations: 5.406 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.6159, allocations: 4.703 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.6163, allocations: 30.97 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.6163, allocations: 2.125 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.6178, allocations: 79.05 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.618, allocations: 39.64 kB / 1.111 GB, free: 208.4 MB / 0.7292 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 () * 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.0004709/0.6185, allocations: 180.9 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.6186, allocations: 22.06 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.6188, allocations: 24.25 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.043e-06/0.6188, allocations: 5.062 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.6188, allocations: 1.062 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6188, allocations: 2.578 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.6208, allocations: 0.5791 MB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.429e-06/0.6208, allocations: 1.125 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.621, allocations: 7.094 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.621, allocations: 6.328 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.6211, allocations: 11.55 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.6211, allocations: 5.078 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.937e-06/0.6211, allocations: 0.9844 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.6223, allocations: 317.9 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.6227, allocations: 161.1 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.6229, allocations: 10.73 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.6235, allocations: 15.52 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6236, allocations: 18.11 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6237, allocations: 32.64 kB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003976/0.6242, allocations: 175.1 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.092e-06/0.6242, allocations: 0.5312 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001057/0.6253, allocations: 49.09 kB / 1.113 GB, free: 207.4 MB / 0.7292 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) * 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.0003021/0.6256, allocations: 132.4 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.6271, allocations: 363.1 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.948e-06/0.6272, allocations: 0 / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.6276, allocations: 72.09 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6286, allocations: 37.06 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.6302, allocations: 406.9 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6306, allocations: 0.7451 MB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003801/0.631, allocations: 29.09 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.6313, allocations: 40.78 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2.601e-06/0.6313, allocations: 1.5 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.02102/0.6523, allocations: 3.905 MB / 1.118 GB, free: 206 MB / 0.7292 GB