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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0108/0.01081, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001115/0.001115, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.846/3.846, allocations: 389.1 MB / 405.9 MB, free: 67.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.255/4.255, allocations: 472.3 MB / 0.9018 GB, free: 13.28 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004969, allocations: 8 kB / 1.008 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5298, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001241/0.5311, allocations: 1.165 MB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00074/0.5318, allocations: 374.9 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.5319, allocations: 0 / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.5319, allocations: 5.031 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.532, allocations: 19.84 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.5327, allocations: 209.2 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.533, allocations: 231.6 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.533, allocations: 4.234 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.5333, allocations: 163.6 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.5335, allocations: 111.8 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.5335, allocations: 12 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.5336, allocations: 8 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.5337, allocations: 62.59 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.5338, allocations: 65.58 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.534, allocations: 169.5 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.374e-06/0.534, allocations: 0 / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.986e-06/0.534, allocations: 0 / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.898e-06/0.534, allocations: 0 / 1.107 GB, free: 181.1 MB / 0.6823 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.0008884/0.5349, allocations: 0.5742 MB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.5349, allocations: 8.031 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.535, allocations: 27.8 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.5353, allocations: 232.9 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.5354, allocations: 15.41 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.5354, allocations: 20.92 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.5357, allocations: 137.5 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5358, allocations: 0 / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.5358, allocations: 7.984 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-06/0.5358, allocations: 5.734 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.536, allocations: 43.97 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.5363, allocations: 300.6 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.5366, allocations: 126.6 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.5368, allocations: 57.7 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.5368, allocations: 4.656 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.5373, allocations: 197.3 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.641e-06/0.5373, allocations: 0 / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006382/0.538, allocations: 264.9 kB / 1.108 GB, free: 179 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.538, allocations: 59.39 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5382, allocations: 227.7 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.5383, allocations: 37.69 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.5383, allocations: 94.17 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.5384, allocations: 39.45 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.5384, allocations: 8 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.5385, allocations: 330.8 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.5388, allocations: 92.17 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.5391, allocations: 146.4 kB / 1.109 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.5393, allocations: 148.1 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.761e-06/0.5393, allocations: 3.406 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007875/0.5401, allocations: 395.8 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.5402, allocations: 75.38 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.757e-06/0.5402, allocations: 4 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5403, allocations: 4.656 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5405, allocations: 23.92 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.77e-06/0.5405, allocations: 6.641 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.5411, allocations: 75.42 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.5412, allocations: 45.03 kB / 1.11 GB, free: 177.1 MB / 0.6823 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.0001824/0.5414, allocations: 165.6 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.5414, allocations: 20.66 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.5415, allocations: 26.58 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-06/0.5415, allocations: 4 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5415, allocations: 3.406 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.392e-06/0.5415, allocations: 0 / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.5423, allocations: 0.5339 MB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5423, allocations: 0 / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.5424, allocations: 12.98 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.045e-06/0.5424, allocations: 0 / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.5425, allocations: 12.55 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.5425, allocations: 0 / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.928e-06/0.5425, allocations: 2.094 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.5429, allocations: 311.1 kB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.5431, allocations: 146.1 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.5432, allocations: 11.53 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.5434, allocations: 13.61 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.5435, allocations: 19.97 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.5436, allocations: 19.98 kB / 1.111 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001384/0.5437, allocations: 164.5 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.62e-07/0.5437, allocations: 0 / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004145/0.5441, allocations: 48 kB / 1.112 GB, free: 175.5 MB / 0.6823 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.0001259/0.5443, allocations: 125.1 kB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.5449, allocations: 334.1 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.315e-06/0.5449, allocations: 0 / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.5451, allocations: 71.44 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.5455, allocations: 30.45 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.5461, allocations: 359.6 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.5463, allocations: 0.7282 MB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.5465, allocations: 36.08 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.5466, allocations: 30.17 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.035e-06/0.5467, allocations: 0 / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.007711/0.5544, allocations: 3.545 MB / 1.117 GB, free: 170.5 MB / 0.6823 GB