Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01164/0.01164, 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.001097/0.001096, 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.861/3.861, allocations: 389.1 MB / 405.9 MB, free: 67.64 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.38/4.38, allocations: 472.3 MB / 0.9018 GB, free: 13.29 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005069, allocations: 12 kB / 1.008 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5033, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001371/0.5048, allocations: 1.161 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0007863/0.5056, allocations: 369.3 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.5057, allocations: 7.094 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.5057, allocations: 0.6562 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.5058, allocations: 19.84 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.5066, allocations: 212 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.5068, allocations: 235.5 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.5069, allocations: 7.141 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.5071, allocations: 155.6 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.5073, allocations: 115.7 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.5074, allocations: 12.66 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.5075, allocations: 8 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.5076, allocations: 63.84 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.5076, allocations: 61.58 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.5079, allocations: 169.5 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.377e-06/0.5079, allocations: 0 / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5079, allocations: 3.438 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.019e-06/0.5079, allocations: 0.8438 kB / 1.107 GB, free: 181.2 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.0009411/0.5089, allocations: 0.5716 MB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.5089, allocations: 8.031 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.509, allocations: 27.8 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.5093, allocations: 235.2 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.5093, allocations: 15.98 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.5094, allocations: 12 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.5097, allocations: 142 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.156e-06/0.5097, allocations: 0 / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.5098, allocations: 9.828 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-06/0.5098, allocations: 0 / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.51, allocations: 45.38 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.5103, allocations: 304.3 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.5106, allocations: 122.6 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.5108, allocations: 56.83 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.5108, allocations: 6.25 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.5113, allocations: 201.2 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/0.5113, allocations: 0.9375 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006546/0.512, allocations: 261.1 kB / 1.108 GB, free: 179 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.512, allocations: 63.39 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.5123, allocations: 220.8 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.5123, allocations: 41.69 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.5124, allocations: 92.48 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.5125, allocations: 39.45 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.5125, allocations: 8 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.5126, allocations: 330.8 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.5128, allocations: 88.17 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.5131, allocations: 149.3 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.5134, allocations: 153.7 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.585e-06/0.5134, allocations: 4 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008024/0.5142, allocations: 402.4 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.5143, allocations: 71.39 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.5143, allocations: 4.75 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.5144, allocations: 4 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.5146, allocations: 27.91 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.072e-06/0.5146, allocations: 0 / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.5152, allocations: 79.94 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.5153, allocations: 39.98 kB / 1.11 GB, free: 177.2 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001966/0.5155, allocations: 162.8 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.5156, allocations: 19.81 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.5156, allocations: 25.8 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-06/0.5157, allocations: 4 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.482e-06/0.5157, allocations: 3.406 kB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-06/0.5157, allocations: 0 / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/0.5165, allocations: 0.5424 MB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-06/0.5166, allocations: 0 / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.5166, allocations: 7.984 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.247e-06/0.5166, allocations: 0 / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.5167, allocations: 16.8 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.711e-06/0.5167, allocations: 0 / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.196e-06/0.5167, allocations: 4.625 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.5172, allocations: 315 kB / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.5173, allocations: 136.7 kB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.5174, allocations: 8 kB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.5177, allocations: 18.67 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.5178, allocations: 15.97 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.5179, allocations: 27.48 kB / 1.111 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001515/0.518, allocations: 164.5 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.73e-07/0.518, allocations: 0 / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004568/0.5185, allocations: 44 kB / 1.112 GB, free: 175.6 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0001369/0.5187, allocations: 124 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006385/0.5193, allocations: 338 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.425e-06/0.5193, allocations: 0 / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.5195, allocations: 67.91 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.52, allocations: 27.52 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.5207, allocations: 360.6 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.5209, allocations: 0.7371 MB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000174/0.5211, allocations: 35.17 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.5212, allocations: 29.39 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.6e-06/0.5212, allocations: 0 / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.008367/0.5296, allocations: 3.568 MB / 1.117 GB, free: 170.5 MB / 0.6823 GB