Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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.01147/0.01148, allocations: 108.5 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.001287/0.001287, allocations: 181.3 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.267/2.267, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.441/2.441, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007099/0.0007105, allocations: 12 kB / 0.5871 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7148, allocations: 98.72 MB / 0.6835 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002113/0.717, allocations: 1.342 MB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.7182, allocations: 433.9 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.7183, allocations: 1.25 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.7183, allocations: 6.188 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.7185, allocations: 24.95 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009197/0.7194, allocations: 210.2 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.7197, allocations: 175.1 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.7199, allocations: 26.53 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.7202, allocations: 167.9 kB / 0.6858 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.7205, allocations: 117.5 kB / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.7207, allocations: 9.531 kB / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.7207, allocations: 9.406 kB / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.7209, allocations: 62.8 kB / 0.686 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.945e-05/0.721, allocations: 71.69 kB / 0.686 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.7214, allocations: 274.7 kB / 0.6863 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.7215, allocations: 0 / 0.6863 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7215, allocations: 1.031 kB / 0.6863 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7215, allocations: 0 / 0.6863 GB, free: 15.05 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001394/0.7229, allocations: 0.5935 MB / 0.6869 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7229, allocations: 12.19 kB / 0.6869 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.723, allocations: 40.89 kB / 0.6869 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.7231, allocations: 34.23 kB / 0.687 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.7235, allocations: 251.3 kB / 0.6872 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.7236, allocations: 20.17 kB / 0.6872 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7237, allocations: 19.56 kB / 0.6872 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.7242, allocations: 162.6 kB / 0.6874 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.7243, allocations: 0 / 0.6874 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.7243, allocations: 1.688 kB / 0.6874 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.7243, allocations: 3.125 kB / 0.6874 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.7246, allocations: 66.47 kB / 0.6875 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.7263, allocations: 0.5257 MB / 0.688 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.7268, allocations: 143 kB / 0.6881 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.7269, allocations: 1.797 kB / 0.6881 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/0.7275, allocations: 214.9 kB / 0.6883 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/0.7275, allocations: 1.094 kB / 0.6883 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0009993/0.7286, allocations: 276.3 kB / 0.6886 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.7286, allocations: 67.83 kB / 0.6886 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.729, allocations: 249.9 kB / 0.6889 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/0.7291, allocations: 37.8 kB / 0.6889 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.7292, allocations: 101 kB / 0.689 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.7293, allocations: 47.38 kB / 0.6891 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.7294, allocations: 4.172 kB / 0.6891 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.7295, allocations: 327 kB / 0.6894 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.7298, allocations: 98.45 kB / 0.6895 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.7303, allocations: 156.4 kB / 0.6896 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.7307, allocations: 164.1 kB / 0.6898 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7307, allocations: 1.219 kB / 0.6898 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001164/0.7319, allocations: 424.6 kB / 0.6902 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.732, allocations: 77.47 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.732, allocations: 1.828 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.732, allocations: 3.219 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.7323, allocations: 30.48 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.7323, allocations: 2.312 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/0.7333, allocations: 77.86 kB / 0.6904 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7334, allocations: 43.8 kB / 0.6904 GB, free: 12.18 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003194/0.7338, allocations: 175.4 kB / 0.6906 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.7339, allocations: 21.95 kB / 0.6906 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.7339, allocations: 32.39 kB / 0.6906 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.734, allocations: 2.281 kB / 0.6906 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.734, allocations: 1.031 kB / 0.6906 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.734, allocations: 1.312 kB / 0.6906 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.7352, allocations: 0.5728 MB / 0.6912 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7352, allocations: 0 / 0.6912 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.7353, allocations: 8.016 kB / 0.6912 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.7353, allocations: 2.219 kB / 0.6912 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.7353, allocations: 13.47 kB / 0.6912 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.7354, allocations: 8.984 kB / 0.6912 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7354, allocations: 0.5156 kB / 0.6912 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.736, allocations: 316.8 kB / 0.6915 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.7363, allocations: 161.1 kB / 0.6917 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.7364, allocations: 14.84 kB / 0.6917 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.7368, allocations: 15.05 kB / 0.6917 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.7369, allocations: 18.42 kB / 0.6917 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.737, allocations: 27.73 kB / 0.6917 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002465/0.7372, allocations: 180.6 kB / 0.6919 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7372, allocations: 0 / 0.6919 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005972/0.7378, allocations: 48.69 kB / 0.692 GB, free: 11.14 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.001006/0.7389, allocations: 0.8815 MB / 0.6928 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009438/0.7398, allocations: 360.1 kB / 0.6932 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7398, allocations: 0 / 0.6932 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.7401, allocations: 71.56 kB / 0.6932 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.7406, allocations: 38.91 kB / 0.6933 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.7422, allocations: 1.555 MB / 0.6948 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.7425, allocations: 0.7464 MB / 0.6955 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.7427, allocations: 32.34 kB / 0.6956 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7429, allocations: 49.23 kB / 0.6956 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.743, allocations: 0 / 0.6956 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.7796, allocations: 5.084 MB / 0.7006 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.7799, allocations: 212.8 kB / 0.7008 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.189, allocations: 0 / 0.7008 GB, free: 6.039 MB / 0.5261 GB