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.01527/0.01528, allocations: 109.6 kB / 15.06 MB, free: 5.562 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.001764/0.001764, allocations: 182.6 kB / 15.95 MB, free: 5.523 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 1.969/1.969, allocations: 194.6 MB / 211.3 MB, free: 10.97 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.272/2.272, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005159, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5749, allocations: 98.7 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002264/0.5772, allocations: 1.159 MB / 0.6844 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.5786, allocations: 388.2 kB / 0.6848 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.5788, allocations: 1.219 kB / 0.6848 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.5788, allocations: 1.359 kB / 0.6848 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.579, allocations: 22.92 kB / 0.6848 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.5802, allocations: 204.3 kB / 0.685 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.5806, allocations: 145.2 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.5807, allocations: 5.297 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.5811, allocations: 157.7 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.5815, allocations: 116.2 kB / 0.6854 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.5816, allocations: 8.875 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.5817, allocations: 9.25 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.5819, allocations: 65.75 kB / 0.6855 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.582, allocations: 57.73 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.5824, allocations: 164 kB / 0.6857 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5825, allocations: 0 / 0.6857 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.69e-06/0.5825, allocations: 0 / 0.6857 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.122e-06/0.5825, allocations: 1.5 kB / 0.6857 GB, free: 15.19 MB / 0.5261 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.001577/0.5841, allocations: 0.5744 MB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.5842, allocations: 9.344 kB / 0.6863 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.5844, allocations: 24.48 kB / 0.6863 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.5848, allocations: 240.8 kB / 0.6866 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.5849, allocations: 9.141 kB / 0.6866 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.5851, allocations: 20.19 kB / 0.6866 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.5857, allocations: 138 kB / 0.6867 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5857, allocations: 0 / 0.6867 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.5858, allocations: 7.516 kB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.719e-06/0.5858, allocations: 1.156 kB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.5862, allocations: 46.81 kB / 0.6868 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.5868, allocations: 299.1 kB / 0.6871 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.5874, allocations: 133.6 kB / 0.6872 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.5875, allocations: 1.344 kB / 0.6872 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.5884, allocations: 199.2 kB / 0.6874 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 5.831e-06/0.5884, allocations: 0 / 0.6874 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001339/0.5898, allocations: 260.1 kB / 0.6876 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.5899, allocations: 65.72 kB / 0.6877 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.5903, allocations: 222.5 kB / 0.6879 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.5905, allocations: 41.64 kB / 0.6879 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.5906, allocations: 90.23 kB / 0.688 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.5907, allocations: 44.08 kB / 0.6881 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.5908, allocations: 11.53 kB / 0.6881 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.5909, allocations: 333.8 kB / 0.6884 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.5915, allocations: 86.5 kB / 0.6885 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.592, allocations: 140 kB / 0.6886 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.5926, allocations: 153.1 kB / 0.6888 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.576e-06/0.5926, allocations: 1.219 kB / 0.6888 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001661/0.5943, allocations: 405.5 kB / 0.6891 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.5945, allocations: 79.23 kB / 0.6892 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.5945, allocations: 1.219 kB / 0.6892 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.5945, allocations: 4.203 kB / 0.6892 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.5949, allocations: 29.27 kB / 0.6893 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.595, allocations: 4.281 kB / 0.6893 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.5961, allocations: 72.11 kB / 0.6893 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.5963, allocations: 43.83 kB / 0.6894 GB, free: 12.62 MB / 0.5261 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.0003632/0.5967, allocations: 164.5 kB / 0.6895 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.5968, allocations: 19.34 kB / 0.6895 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.489e-05/0.5969, allocations: 23.09 kB / 0.6896 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.595e-06/0.597, allocations: 1.656 kB / 0.6896 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.926e-06/0.597, allocations: 0.9688 kB / 0.6896 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.597, allocations: 9.359 kB / 0.6896 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.5986, allocations: 0.5357 MB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.727e-06/0.5987, allocations: 0 / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5988, allocations: 8.938 kB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.5988, allocations: 1.25 kB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.5989, allocations: 9.875 kB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.127e-06/0.5989, allocations: 1.984 kB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.599, allocations: 0 / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.5999, allocations: 311.1 kB / 0.6904 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.6002, allocations: 143.4 kB / 0.6906 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6004, allocations: 9.531 kB / 0.6906 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.6009, allocations: 11.47 kB / 0.6906 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.601, allocations: 22.3 kB / 0.6906 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/0.6011, allocations: 23.27 kB / 0.6906 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002961/0.6014, allocations: 166.9 kB / 0.6908 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.195e-06/0.6014, allocations: 4 kB / 0.6908 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000875/0.6023, allocations: 44.69 kB / 0.6908 GB, free: 11.63 MB / 0.5261 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.0002354/0.6026, allocations: 123.2 kB / 0.6909 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.6038, allocations: 343 kB / 0.6913 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6039, allocations: 1.312 kB / 0.6913 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.6042, allocations: 65.95 kB / 0.6913 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.6047, allocations: 31.42 kB / 0.6914 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6059, allocations: 364.8 kB / 0.6917 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.6062, allocations: 0.7272 MB / 0.6924 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003207/0.6066, allocations: 35.09 kB / 0.6925 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.6069, allocations: 33.56 kB / 0.6925 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of SimCode: time 2.228e-06/0.6069, allocations: 0 / 0.6925 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.01594/0.6228, allocations: 3.551 MB / 0.696 GB, free: 9.477 MB / 0.5261 GB