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.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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.01099/0.011, allocations: 107.4 kB / 15.06 MB, free: 6.027 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.001216/0.001215, allocations: 182.6 kB / 15.95 MB, free: 5.953 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.088/2.088, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.396/2.396, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006634/0.0006635, allocations: 16 kB / 0.5871 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7175, allocations: 98.71 MB / 0.6835 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002708/0.7202, allocations: 1.339 MB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.7218, allocations: 438.1 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.7219, allocations: 1.312 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.524e-05/0.722, allocations: 6.141 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.7222, allocations: 26.09 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.7234, allocations: 209.4 kB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.7239, allocations: 176.6 kB / 0.6856 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.7241, allocations: 32.94 kB / 0.6856 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005086/0.7246, allocations: 160.3 kB / 0.6858 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.725, allocations: 121.6 kB / 0.6859 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.7252, allocations: 10.41 kB / 0.6859 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.7253, allocations: 9.188 kB / 0.6859 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.7255, allocations: 61.12 kB / 0.686 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.7256, allocations: 72.48 kB / 0.686 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.7262, allocations: 274.9 kB / 0.6863 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7263, allocations: 0 / 0.6863 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7263, allocations: 0 / 0.6863 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7263, allocations: 5.469 kB / 0.6863 GB, free: 15.11 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.001842/0.7282, allocations: 0.5921 MB / 0.6869 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7282, allocations: 8.844 kB / 0.6869 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.849e-05/0.7283, allocations: 41.73 kB / 0.6869 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.7285, allocations: 36.62 kB / 0.687 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.7291, allocations: 252.3 kB / 0.6872 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-05/0.7292, allocations: 19.11 kB / 0.6872 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.7293, allocations: 21.5 kB / 0.6872 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.73, allocations: 162.9 kB / 0.6874 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7301, allocations: 0 / 0.6874 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.7301, allocations: 6.5 kB / 0.6874 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.7302, allocations: 2.406 kB / 0.6874 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.7305, allocations: 55.25 kB / 0.6875 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.7327, allocations: 0.5408 MB / 0.688 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.7334, allocations: 134.8 kB / 0.6881 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.7334, allocations: 1.891 kB / 0.6881 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008512/0.7343, allocations: 218.8 kB / 0.6883 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.527e-06/0.7343, allocations: 0.9688 kB / 0.6883 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001323/0.7356, allocations: 267.3 kB / 0.6886 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.7357, allocations: 66.41 kB / 0.6886 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.7362, allocations: 246.5 kB / 0.6889 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.7363, allocations: 46.27 kB / 0.6889 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.7365, allocations: 96.05 kB / 0.689 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.7366, allocations: 47.7 kB / 0.6891 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.7367, allocations: 13.14 kB / 0.6891 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.7368, allocations: 321.1 kB / 0.6894 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.7373, allocations: 103.2 kB / 0.6895 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.7379, allocations: 148.7 kB / 0.6896 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.7384, allocations: 172.7 kB / 0.6898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7384, allocations: 0 / 0.6898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001623/0.7401, allocations: 418.4 kB / 0.6902 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.7402, allocations: 78.25 kB / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7403, allocations: 1.156 kB / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.7403, allocations: 7.672 kB / 0.6903 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.7407, allocations: 27.05 kB / 0.6903 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.7407, allocations: 6.531 kB / 0.6903 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.742, allocations: 74.03 kB / 0.6904 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.7421, allocations: 46.45 kB / 0.6904 GB, free: 12.25 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.0004069/0.7426, allocations: 174 kB / 0.6906 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.7427, allocations: 21.69 kB / 0.6906 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.043e-05/0.7428, allocations: 28.97 kB / 0.6906 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7428, allocations: 2.062 kB / 0.6906 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.7428, allocations: 0 / 0.6906 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.7428, allocations: 2.688 kB / 0.6906 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.7445, allocations: 0.582 MB / 0.6912 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7445, allocations: 0 / 0.6912 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.7447, allocations: 9.047 kB / 0.6912 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.7447, allocations: 1.438 kB / 0.6912 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.7448, allocations: 13.78 kB / 0.6912 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.7448, allocations: 9.141 kB / 0.6912 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7448, allocations: 0 / 0.6912 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000939/0.7457, allocations: 319 kB / 0.6915 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.7461, allocations: 161.1 kB / 0.6917 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.7463, allocations: 10.84 kB / 0.6917 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.7468, allocations: 15.88 kB / 0.6917 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.7469, allocations: 17.31 kB / 0.6917 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.798e-05/0.747, allocations: 27.61 kB / 0.6918 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003675/0.7474, allocations: 177 kB / 0.6919 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/0.7474, allocations: 0 / 0.6919 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008193/0.7483, allocations: 47.95 kB / 0.692 GB, free: 11.2 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.00129/0.7496, allocations: 0.8796 MB / 0.6928 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.7508, allocations: 357.6 kB / 0.6932 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.7509, allocations: 384 / 0.6932 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.7512, allocations: 80.33 kB / 0.6932 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.7518, allocations: 30.73 kB / 0.6933 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.754, allocations: 1.56 MB / 0.6948 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.7544, allocations: 0.7382 MB / 0.6955 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000338/0.7548, allocations: 35.45 kB / 0.6956 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.7551, allocations: 45.05 kB / 0.6956 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of SimCode: time 2.675e-06/0.7551, allocations: 0 / 0.6956 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05467/0.8098, allocations: 5.083 MB / 0.7006 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.8101, allocations: 212.3 kB / 0.7008 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.248, allocations: 0 / 0.7008 GB, free: 6.016 MB / 0.5261 GB