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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.01228/0.01229, allocations: 220.3 kB / 15.17 MB, free: 5.992 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.001143/0.001143, allocations: 180.3 kB / 16.06 MB, free: 5.871 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.73/3.73, 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.276/4.276, allocations: 472.3 MB / 0.9017 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.000477, allocations: 16 kB / 1.008 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6869, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002191/0.6892, allocations: 1.158 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.6904, allocations: 382.1 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.6905, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.6905, allocations: 1.172 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.6907, allocations: 18.42 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.6916, allocations: 209.1 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.692, allocations: 229.6 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.6921, allocations: 10.33 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.6924, allocations: 156.6 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.6927, allocations: 118.6 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.6928, allocations: 12.47 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.629e-05/0.6929, allocations: 10.25 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.693, allocations: 58.36 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.203e-05/0.6931, allocations: 65.77 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.6934, allocations: 170 kB / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6934, allocations: 0 / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6934, allocations: 0.5938 kB / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6934, allocations: 0 / 1.107 GB, free: 211.5 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.001353/0.6948, allocations: 0.5753 MB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.6949, allocations: 9.875 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/0.6949, allocations: 38.78 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.6951, allocations: 22.59 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.6954, allocations: 230.1 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.6955, allocations: 16.33 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.6956, allocations: 24.05 kB / 1.108 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.696, allocations: 137.6 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.696, allocations: 0 / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.6961, allocations: 9.297 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6961, allocations: 1.312 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.6963, allocations: 42.31 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.6967, allocations: 305.7 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.6971, allocations: 128.4 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.6973, allocations: 52.48 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.6974, allocations: 1.344 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.698, allocations: 199.5 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.264e-06/0.698, allocations: 3.344 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0008668/0.6989, allocations: 263 kB / 1.109 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.6989, allocations: 57.12 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.6992, allocations: 225.5 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.6993, allocations: 38.22 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.6993, allocations: 89.77 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.6994, allocations: 49.91 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.6995, allocations: 11.97 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.6996, allocations: 327 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.6999, allocations: 91.53 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.7003, allocations: 136.4 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.7006, allocations: 158.9 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.7006, allocations: 1.094 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00101/0.7017, allocations: 403.1 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.7017, allocations: 70.8 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.7018, allocations: 1.969 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7018, allocations: 3.062 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.7021, allocations: 31.16 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7021, allocations: 2.375 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.703, allocations: 79.31 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7031, allocations: 44.81 kB / 1.11 GB, free: 208.9 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.0002071/0.7033, allocations: 167.8 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.7034, allocations: 17.19 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.7035, allocations: 24.47 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7035, allocations: 1.188 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7035, allocations: 1.094 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7035, allocations: 5.156 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.7045, allocations: 0.5375 MB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7046, allocations: 0 / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.7046, allocations: 8.531 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7046, allocations: 1.312 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.7047, allocations: 15.19 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7047, allocations: 1.156 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7047, allocations: 0 / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.7053, allocations: 316.3 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.7055, allocations: 143.3 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.7056, allocations: 8.969 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.7059, allocations: 9.859 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.706, allocations: 17.98 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.7061, allocations: 24.03 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001778/0.7063, allocations: 159.9 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-07/0.7063, allocations: 3.438 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004597/0.7068, allocations: 50.61 kB / 1.112 GB, free: 207.9 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.0008209/0.7076, allocations: 0.8634 MB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007513/0.7084, allocations: 346.3 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7084, allocations: 1.25 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.7086, allocations: 65.48 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.7091, allocations: 25.33 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.7115, allocations: 1.037 MB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.7117, allocations: 0.7286 MB / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.7119, allocations: 38.12 kB / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.7121, allocations: 42.44 kB / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/0.7121, allocations: 0 / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.7438, allocations: 4.569 MB / 1.119 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.7441, allocations: 193.2 kB / 1.12 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.153, allocations: 2.531 kB / 1.12 GB, free: 205.3 MB / 0.7292 GB