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: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01094/0.01094, allocations: 108 kB / 15.06 MB, free: 5.555 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.001247/0.001247, allocations: 182.1 kB / 15.95 MB, free: 5.52 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 2.092/2.092, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.516/2.516, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008887/0.0008891, allocations: 8 kB / 0.587 GB, free: 2.012 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7163/0.7172, allocations: 98.71 MB / 0.6834 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002143/0.7194, allocations: 1.155 MB / 0.6845 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.7207, allocations: 383.2 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.7208, allocations: 1.125 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.7209, allocations: 1.734 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.7211, allocations: 23.95 kB / 0.6849 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.7221, allocations: 204 kB / 0.6851 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.7225, allocations: 147.4 kB / 0.6853 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.7226, allocations: 14.05 kB / 0.6853 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.723, allocations: 150 kB / 0.6854 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.7233, allocations: 120.2 kB / 0.6855 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-05/0.7234, allocations: 9.344 kB / 0.6855 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.919e-05/0.7235, allocations: 10.25 kB / 0.6856 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.7236, allocations: 60.36 kB / 0.6856 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.43e-05/0.7237, allocations: 59.23 kB / 0.6857 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.7241, allocations: 171 kB / 0.6858 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.7241, allocations: 0 / 0.6858 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7241, allocations: 0 / 0.6858 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.7241, allocations: 0 / 0.6858 GB, free: 15.46 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.001351/0.7255, allocations: 0.5716 MB / 0.6864 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.7255, allocations: 14.02 kB / 0.6864 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.7256, allocations: 42.69 kB / 0.6864 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.7257, allocations: 24.28 kB / 0.6865 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.7261, allocations: 238.1 kB / 0.6867 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.7261, allocations: 12.95 kB / 0.6867 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.7262, allocations: 19 kB / 0.6867 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.7267, allocations: 138.4 kB / 0.6869 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7267, allocations: 0.8125 kB / 0.6869 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.7268, allocations: 6.359 kB / 0.6869 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7268, allocations: 1.031 kB / 0.6869 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.727, allocations: 48.48 kB / 0.6869 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.7275, allocations: 302.1 kB / 0.6872 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.7279, allocations: 128.6 kB / 0.6873 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.7279, allocations: 1.688 kB / 0.6873 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006432/0.7286, allocations: 202.1 kB / 0.6875 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.7286, allocations: 0 / 0.6875 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0009361/0.7296, allocations: 262 kB / 0.6878 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.7296, allocations: 62.73 kB / 0.6878 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.73, allocations: 218.8 kB / 0.688 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.7301, allocations: 41.08 kB / 0.6881 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.7301, allocations: 91.25 kB / 0.6882 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.7302, allocations: 46.89 kB / 0.6882 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.7303, allocations: 8.328 kB / 0.6882 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.7304, allocations: 329.3 kB / 0.6885 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.7307, allocations: 90.64 kB / 0.6886 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.7311, allocations: 145.4 kB / 0.6888 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.7315, allocations: 148.3 kB / 0.6889 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.7315, allocations: 0 / 0.6889 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001149/0.7327, allocations: 401.6 kB / 0.6893 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.7328, allocations: 77.52 kB / 0.6894 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.7328, allocations: 1.094 kB / 0.6894 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.7328, allocations: 3.375 kB / 0.6894 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.7331, allocations: 30.03 kB / 0.6894 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.7331, allocations: 3.172 kB / 0.6894 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.7341, allocations: 73.81 kB / 0.6895 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.7342, allocations: 39 kB / 0.6895 GB, free: 12.85 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.0002864/0.7345, allocations: 169.5 kB / 0.6897 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.7346, allocations: 22.08 kB / 0.6897 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.7347, allocations: 23.09 kB / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.7347, allocations: 2.625 kB / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.7347, allocations: 0 / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.7347, allocations: 5.219 kB / 0.6897 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.7359, allocations: 0.5426 MB / 0.6902 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7359, allocations: 3.938 kB / 0.6902 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.736, allocations: 8.656 kB / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.736, allocations: 0.75 kB / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.7361, allocations: 10.55 kB / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.7361, allocations: 2.047 kB / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7361, allocations: 0 / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.7368, allocations: 315.2 kB / 0.6906 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.737, allocations: 142.9 kB / 0.6907 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.7371, allocations: 10.31 kB / 0.6907 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.7375, allocations: 11.56 kB / 0.6907 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.7376, allocations: 17.14 kB / 0.6907 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.7377, allocations: 23.42 kB / 0.6908 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002228/0.7379, allocations: 167.4 kB / 0.6909 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7379, allocations: 4 kB / 0.6909 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005527/0.7385, allocations: 44.73 kB / 0.691 GB, free: 11.85 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.000956/0.7395, allocations: 0.8643 MB / 0.6918 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009134/0.7404, allocations: 335.7 kB / 0.6921 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.7404, allocations: 4.062 kB / 0.6921 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.7407, allocations: 74.95 kB / 0.6922 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.7411, allocations: 15.19 kB / 0.6922 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.7426, allocations: 1.513 MB / 0.6937 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.7428, allocations: 0.7299 MB / 0.6944 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.7431, allocations: 30.09 kB / 0.6944 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.7433, allocations: 40.47 kB / 0.6945 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/0.7433, allocations: 4 kB / 0.6945 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.7722, allocations: 4.567 MB / 0.6989 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/0.7726, allocations: 173.7 kB / 0.6991 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.305, allocations: 0 / 0.6991 GB, free: 7.078 MB / 0.5261 GB