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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01072/0.01072, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001132/0.001132, allocations: 176 kB / 16.06 MB, free: 5.832 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.996/3.996, allocations: 389.1 MB / 405.9 MB, free: 14.21 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.125/4.125, allocations: 472.3 MB / 0.9018 GB, free: 0 / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 15.98 kB / 1.008 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6715, allocations: 98.71 MB / 1.104 GB, free: 206.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002363/0.674, allocations: 1.163 MB / 1.105 GB, free: 205.6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.6755, allocations: 378.4 kB / 1.106 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.6756, allocations: 0 / 1.106 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.6756, allocations: 1.781 kB / 1.106 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.6758, allocations: 16.59 kB / 1.106 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.6771, allocations: 209.6 kB / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.6776, allocations: 234.9 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.6777, allocations: 5.172 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.6782, allocations: 152.7 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.6786, allocations: 119.5 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/0.6787, allocations: 10.16 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.6788, allocations: 9.344 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.679, allocations: 63.89 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.6791, allocations: 65.98 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.6796, allocations: 167.6 kB / 1.107 GB, free: 205 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.419e-06/0.6796, allocations: 0 / 1.107 GB, free: 205 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.657e-06/0.6796, allocations: 0 / 1.107 GB, free: 205 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.6796, allocations: 4.25 kB / 1.107 GB, free: 205 MB / 0.7136 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.001537/0.6812, allocations: 0.574 MB / 1.107 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6813, allocations: 9.922 kB / 1.107 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.6814, allocations: 23.83 kB / 1.107 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.6819, allocations: 233.5 kB / 1.107 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.682, allocations: 12.59 kB / 1.107 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.6821, allocations: 15.95 kB / 1.107 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.6828, allocations: 146.2 kB / 1.108 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6828, allocations: 0 / 1.108 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.6829, allocations: 5.844 kB / 1.108 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-06/0.6829, allocations: 2.344 kB / 1.108 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.6832, allocations: 42.98 kB / 1.108 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.6838, allocations: 302.4 kB / 1.108 GB, free: 203.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.6845, allocations: 136.5 kB / 1.108 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.6848, allocations: 59.28 kB / 1.108 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.6849, allocations: 2.375 kB / 1.108 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.6858, allocations: 199.6 kB / 1.108 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 4.972e-06/0.6858, allocations: 0 / 1.108 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.001307/0.6871, allocations: 262.5 kB / 1.108 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.6872, allocations: 57.88 kB / 1.109 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.6877, allocations: 225.8 kB / 1.109 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/0.6878, allocations: 37.47 kB / 1.109 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.6879, allocations: 92.3 kB / 1.109 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.688, allocations: 47.75 kB / 1.109 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.6881, allocations: 8.312 kB / 1.109 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.6882, allocations: 325.6 kB / 1.109 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.6887, allocations: 94.22 kB / 1.109 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.6893, allocations: 137 kB / 1.109 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.6899, allocations: 157.6 kB / 1.11 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.287e-06/0.6899, allocations: 0 / 1.11 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001639/0.6915, allocations: 393.6 kB / 1.11 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.6917, allocations: 77 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.6917, allocations: 4.375 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.6918, allocations: 7.047 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.6921, allocations: 26.05 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.6922, allocations: 4.562 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6934, allocations: 73.45 kB / 1.11 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.6936, allocations: 44.05 kB / 1.11 GB, free: 202.4 MB / 0.7136 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.0003626/0.6939, allocations: 164.3 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.6941, allocations: 17.81 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/0.6942, allocations: 30.52 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.6942, allocations: 2.312 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.446e-06/0.6942, allocations: 0.6094 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6943, allocations: 1.672 kB / 1.11 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.6958, allocations: 0.5345 MB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.995e-06/0.6959, allocations: 0 / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.696, allocations: 8.766 kB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.549e-06/0.696, allocations: 4.344 kB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.6961, allocations: 14.42 kB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.773e-06/0.6961, allocations: 0 / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6961, allocations: 1.812 kB / 1.111 GB, free: 201.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.6971, allocations: 312.6 kB / 1.111 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.6974, allocations: 141.2 kB / 1.111 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6975, allocations: 12.64 kB / 1.111 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.698, allocations: 11.22 kB / 1.111 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.6981, allocations: 17.25 kB / 1.111 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/0.6983, allocations: 27.52 kB / 1.111 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002805/0.6986, allocations: 159.6 kB / 1.112 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.281e-06/0.6986, allocations: 4.344 kB / 1.112 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008287/0.6994, allocations: 48.62 kB / 1.112 GB, free: 201.5 MB / 0.7136 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.000216/0.6997, allocations: 122.2 kB / 1.112 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.7009, allocations: 335.1 kB / 1.112 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.634e-06/0.7009, allocations: 6.656 kB / 1.112 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.7013, allocations: 75.17 kB / 1.112 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.702, allocations: 25.25 kB / 1.112 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.7031, allocations: 359 kB / 1.113 GB, free: 200.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7035, allocations: 0.7246 MB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003035/0.7038, allocations: 32.8 kB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.7041, allocations: 35.64 kB / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.08e-06/0.7041, allocations: 0 / 1.113 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.01027/0.7144, allocations: 3.53 MB / 1.117 GB, free: 200.1 MB / 0.7136 GB