Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01181/0.01181, allocations: 221.1 kB / 15.17 MB, free: 5.996 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.001105/0.001104, allocations: 179.2 kB / 16.06 MB, free: 5.867 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.69/3.69, allocations: 389.1 MB / 405.9 MB, free: 13.33 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.608/4.608, allocations: 472.3 MB / 0.9018 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004825, allocations: 16 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5697/0.5702, allocations: 98.71 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001513/0.5717, allocations: 1.171 MB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.5726, allocations: 378.8 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.5726, allocations: 0 / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.5727, allocations: 0.8438 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.5728, allocations: 19.75 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.5735, allocations: 209.9 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.5738, allocations: 231.4 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.5738, allocations: 9.875 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.5741, allocations: 161.2 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.5743, allocations: 120.5 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.5744, allocations: 11.5 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.5745, allocations: 8.094 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.5746, allocations: 62.03 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.5746, allocations: 61.39 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.5749, allocations: 172.9 kB / 1.107 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.562e-06/0.5749, allocations: 0 / 1.107 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.231e-06/0.5749, allocations: 0 / 1.107 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.964e-06/0.5749, allocations: 0 / 1.107 GB, free: 211.6 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009978/0.5759, allocations: 0.5711 MB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.576, allocations: 9.469 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.575e-05/0.5761, allocations: 26.94 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.5763, allocations: 234.6 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.5764, allocations: 12.06 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.5765, allocations: 19.2 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.5768, allocations: 138 kB / 1.108 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.166e-06/0.5768, allocations: 0 / 1.108 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.5769, allocations: 8 kB / 1.108 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-06/0.5769, allocations: 2.75 kB / 1.108 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.5771, allocations: 43.39 kB / 1.108 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.5774, allocations: 302.7 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.5778, allocations: 130 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.578, allocations: 59.61 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.578, allocations: 2.281 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.5785, allocations: 197.8 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 3.224e-06/0.5785, allocations: 0 / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007273/0.5793, allocations: 262 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.5793, allocations: 65.17 kB / 1.109 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5796, allocations: 224.8 kB / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.5796, allocations: 40.86 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.5797, allocations: 85.7 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.5798, allocations: 43.56 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.5798, allocations: 10.84 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.5799, allocations: 328.1 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.5802, allocations: 94.08 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.5805, allocations: 142.5 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.5808, allocations: 153.4 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-06/0.5808, allocations: 0 / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000914/0.5817, allocations: 402.1 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/0.5818, allocations: 73.19 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.5819, allocations: 4.656 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.5819, allocations: 2.125 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.5821, allocations: 31.19 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.5821, allocations: 3.375 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.5828, allocations: 72.88 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.961e-05/0.5829, allocations: 42.94 kB / 1.11 GB, free: 209.1 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.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 () * 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.0002204/0.5831, allocations: 161.2 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.5832, allocations: 19.03 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.5833, allocations: 28.73 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.634e-06/0.5833, allocations: 2.641 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.705e-06/0.5833, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.463e-06/0.5833, allocations: 4.406 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009154/0.5843, allocations: 0.5401 MB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.591e-06/0.5843, allocations: 1.156 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.5844, allocations: 7.203 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.828e-06/0.5844, allocations: 4.594 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.5844, allocations: 10.53 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.208e-06/0.5844, allocations: 2.672 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.419e-06/0.5844, allocations: 0 / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.585, allocations: 315.9 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.5852, allocations: 142.7 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.5853, allocations: 10.81 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.5856, allocations: 9.656 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.5856, allocations: 18.17 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.5857, allocations: 27.12 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001671/0.5859, allocations: 164.5 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.02e-07/0.5859, allocations: 0 / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004786/0.5864, allocations: 50.02 kB / 1.112 GB, free: 208.1 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.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) * 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.0001428/0.5865, allocations: 121.6 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007/0.5873, allocations: 331.9 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.767e-06/0.5873, allocations: 4 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.5875, allocations: 69.84 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.5879, allocations: 28.27 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.5886, allocations: 364.5 kB / 1.113 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.5889, allocations: 0.7245 MB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000173/0.589, allocations: 33.11 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.5892, allocations: 32.34 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.654e-06/0.5892, allocations: 2.844 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.00949/0.5987, allocations: 3.543 MB / 1.117 GB, free: 206.8 MB / 0.7292 GB