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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.01579/0.01579, allocations: 107 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.001831/0.001831, allocations: 184.6 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.207/2.207, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.376/2.376, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 8 kB / 0.587 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7138/0.7144, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001915/0.7163, allocations: 1.156 MB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.7175, allocations: 384 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.7175, allocations: 0 / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.7176, allocations: 2.219 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.7177, allocations: 15.78 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009021/0.7186, allocations: 207.4 kB / 0.6851 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.719, allocations: 148.5 kB / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.719, allocations: 5.016 kB / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.7194, allocations: 162 kB / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.7197, allocations: 116.2 kB / 0.6855 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.934e-05/0.7198, allocations: 9.281 kB / 0.6856 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.7199, allocations: 9.406 kB / 0.6856 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.72, allocations: 62.39 kB / 0.6856 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.694e-05/0.7201, allocations: 58.41 kB / 0.6857 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.7204, allocations: 167.8 kB / 0.6858 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.7204, allocations: 0 / 0.6858 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7204, allocations: 0 / 0.6858 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7205, allocations: 0 / 0.6858 GB, free: 15.35 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.001324/0.7218, allocations: 0.5776 MB / 0.6864 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7219, allocations: 8.5 kB / 0.6864 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.7219, allocations: 41.41 kB / 0.6864 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.7221, allocations: 27.72 kB / 0.6865 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.7224, allocations: 235.9 kB / 0.6867 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.7224, allocations: 11.69 kB / 0.6867 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.7225, allocations: 20.5 kB / 0.6867 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.723, allocations: 137.3 kB / 0.6869 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.723, allocations: 0 / 0.6869 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.7231, allocations: 2.625 kB / 0.6869 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.7231, allocations: 1.312 kB / 0.6869 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.7233, allocations: 51.67 kB / 0.6869 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.7238, allocations: 303.7 kB / 0.6872 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.7242, allocations: 123.7 kB / 0.6873 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.7242, allocations: 2.969 kB / 0.6873 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.7249, allocations: 203.4 kB / 0.6875 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.395e-06/0.7249, allocations: 1.156 kB / 0.6875 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.000931/0.7258, allocations: 259.1 kB / 0.6878 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.7259, allocations: 62.64 kB / 0.6878 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.7262, allocations: 222 kB / 0.688 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.7263, allocations: 50.36 kB / 0.6881 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.7264, allocations: 95.14 kB / 0.6882 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.7265, allocations: 42.22 kB / 0.6882 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.7265, allocations: 8.047 kB / 0.6882 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.18e-05/0.7266, allocations: 325.2 kB / 0.6885 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.727, allocations: 88.33 kB / 0.6886 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.7274, allocations: 145.2 kB / 0.6888 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.7277, allocations: 148.2 kB / 0.6889 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7277, allocations: 1.125 kB / 0.6889 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001098/0.7289, allocations: 405.8 kB / 0.6893 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.612e-05/0.729, allocations: 75.39 kB / 0.6894 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.729, allocations: 2.781 kB / 0.6894 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.729, allocations: 3.281 kB / 0.6894 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.7293, allocations: 25.83 kB / 0.6894 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7293, allocations: 4.016 kB / 0.6894 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/0.7303, allocations: 77.59 kB / 0.6895 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.7304, allocations: 42.83 kB / 0.6895 GB, free: 12.74 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.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.0003093/0.7307, allocations: 162.7 kB / 0.6897 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.7308, allocations: 19.14 kB / 0.6897 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.7309, allocations: 22.58 kB / 0.6897 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7309, allocations: 6.141 kB / 0.6897 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.7309, allocations: 1.156 kB / 0.6897 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7309, allocations: 4.453 kB / 0.6897 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.732, allocations: 0.5384 MB / 0.6902 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7321, allocations: 1.781 kB / 0.6902 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.7321, allocations: 6.609 kB / 0.6902 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.7322, allocations: 2.719 kB / 0.6903 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.7322, allocations: 13.12 kB / 0.6903 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.7322, allocations: 2.109 kB / 0.6903 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7322, allocations: 4 kB / 0.6903 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.7329, allocations: 307.7 kB / 0.6906 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.7331, allocations: 138.7 kB / 0.6907 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.7332, allocations: 9.047 kB / 0.6907 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.7336, allocations: 16.31 kB / 0.6907 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.7337, allocations: 17.33 kB / 0.6907 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.7337, allocations: 27.52 kB / 0.6908 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002114/0.734, allocations: 170.3 kB / 0.6909 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/0.734, allocations: 1.281 kB / 0.6909 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005352/0.7345, allocations: 45.2 kB / 0.691 GB, free: 11.75 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 (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.0009181/0.7354, allocations: 0.8628 MB / 0.6918 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008682/0.7363, allocations: 338.4 kB / 0.6921 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7363, allocations: 1.125 kB / 0.6921 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.7366, allocations: 76.41 kB / 0.6922 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.737, allocations: 16.3 kB / 0.6922 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.7384, allocations: 1.515 MB / 0.6937 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.7387, allocations: 0.7301 MB / 0.6944 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.739, allocations: 34.56 kB / 0.6944 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.7392, allocations: 40.72 kB / 0.6945 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/0.7392, allocations: 0 / 0.6945 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.7732, allocations: 4.537 MB / 0.6989 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.7735, allocations: 205.9 kB / 0.6991 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.473, allocations: 0 / 0.6991 GB, free: 7.105 MB / 0.5261 GB