Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.943/3.943, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.426e-05/4.44e-05, allocations: 7.594 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2568, allocations: 98.72 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2523/0.5091, allocations: 126.3 MB / 0.758 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5094, allocations: 71.95 kB / 0.7581 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01917/0.5286, allocations: 4.183 MB / 0.7622 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.467e-06/0.5286, allocations: 0 / 0.7622 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.5287, allocations: 4 kB / 0.7622 GB, free: 15.18 MB / 0.6511 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.000999/0.5297, allocations: 0.5476 MB / 0.7627 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5297, allocations: 12.03 kB / 0.7628 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.5299, allocations: 27.72 kB / 0.7628 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.5301, allocations: 188 kB / 0.763 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.5301, allocations: 8 kB / 0.763 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.5302, allocations: 20 kB / 0.763 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.5306, allocations: 137.5 kB / 0.7631 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.599e-06/0.5306, allocations: 0 / 0.7631 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.5306, allocations: 3.984 kB / 0.7631 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.889e-06/0.5307, allocations: 11.94 kB / 0.7631 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.5308, allocations: 39.98 kB / 0.7632 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.5313, allocations: 313.2 kB / 0.7635 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.5316, allocations: 126.7 kB / 0.7636 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.5318, allocations: 52.84 kB / 0.7636 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.5318, allocations: 8 kB / 0.7636 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004945/0.5323, allocations: 203.1 kB / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.966e-06/0.5324, allocations: 0 / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005984/0.533, allocations: 209.2 kB / 0.764 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.533, allocations: 67.39 kB / 0.7641 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.5333, allocations: 192.2 kB / 0.7643 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/0.5334, allocations: 37.7 kB / 0.7643 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.5335, allocations: 88.92 kB / 0.7644 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.5336, allocations: 47.48 kB / 0.7645 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.5337, allocations: 12 kB / 0.7645 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5338, allocations: 331 kB / 0.7648 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.5342, allocations: 92.22 kB / 0.7649 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.5345, allocations: 142.4 kB / 0.765 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.5348, allocations: 154.5 kB / 0.7651 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5349, allocations: 0 / 0.7651 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009855/0.5359, allocations: 395.1 kB / 0.7655 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.536, allocations: 84.56 kB / 0.7656 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.536, allocations: 4.188 kB / 0.7656 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.536, allocations: 4 kB / 0.7656 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.5362, allocations: 23.98 kB / 0.7656 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.5363, allocations: 7.938 kB / 0.7656 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.5367, allocations: 43.88 kB / 0.7657 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.5368, allocations: 47.97 kB / 0.7657 GB, free: 11.27 MB / 0.6511 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 () * 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.0001888/0.537, allocations: 135.8 kB / 0.7659 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.5371, allocations: 23.75 kB / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.5372, allocations: 25.58 kB / 0.7659 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.961e-06/0.5372, allocations: 4 kB / 0.7659 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-06/0.5372, allocations: 0 / 0.7659 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5372, allocations: 3.938 kB / 0.7659 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5383, allocations: 0.5255 MB / 0.7664 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-06/0.5383, allocations: 4 kB / 0.7664 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.5384, allocations: 15.92 kB / 0.7664 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.243e-06/0.5384, allocations: 0 / 0.7664 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.5384, allocations: 11.98 kB / 0.7665 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.049e-06/0.5385, allocations: 0 / 0.7665 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5385, allocations: 0 / 0.7665 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.539, allocations: 305.8 kB / 0.7668 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.5392, allocations: 140.8 kB / 0.7669 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.5393, allocations: 12 kB / 0.7669 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.5396, allocations: 11.98 kB / 0.7669 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.5396, allocations: 15.97 kB / 0.7669 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.5397, allocations: 23.98 kB / 0.7669 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001999/0.5399, allocations: 164.5 kB / 0.7671 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.054e-06/0.5399, allocations: 0 / 0.7671 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004887/0.5404, allocations: 48 kB / 0.7672 GB, free: 9.727 MB / 0.6511 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) * 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.0002072/0.5407, allocations: 140 kB / 0.7673 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007353/0.5414, allocations: 338.8 kB / 0.7676 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.752e-06/0.5414, allocations: 0 / 0.7676 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.5416, allocations: 69.31 kB / 0.7677 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.5419, allocations: 24.61 kB / 0.7677 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.5426, allocations: 226.7 kB / 0.7679 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.543, allocations: 0.7282 MB / 0.7686 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000172/0.5432, allocations: 29.2 kB / 0.7687 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5434, allocations: 35.42 kB / 0.7687 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of SimCode: time 1.607e-06/0.5434, allocations: 0 / 0.7687 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of Templates: time 0.01019/0.5536, allocations: 3.939 MB / 0.7725 GB, free: 4.156 MB / 0.6511 GB