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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.01182/0.01182, allocations: 107.3 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.001233/0.001233, allocations: 182.5 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.163/2.163, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.473/2.473, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004918, allocations: 19.98 kB / 0.5871 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6796, allocations: 98.72 MB / 0.6835 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00229/0.682, allocations: 1.341 MB / 0.6848 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.6833, allocations: 438.1 kB / 0.6852 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.6835, allocations: 1.031 kB / 0.6852 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.687e-05/0.6836, allocations: 6.469 kB / 0.6852 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.6838, allocations: 25.12 kB / 0.6852 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.6849, allocations: 210.6 kB / 0.6854 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.6854, allocations: 175 kB / 0.6856 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.6855, allocations: 33.53 kB / 0.6856 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.6859, allocations: 161.9 kB / 0.6858 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.6863, allocations: 120.3 kB / 0.6859 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.6864, allocations: 10.69 kB / 0.6859 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.018e-05/0.6864, allocations: 8.656 kB / 0.6859 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.6866, allocations: 62.48 kB / 0.686 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.6867, allocations: 71.05 kB / 0.686 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.6872, allocations: 271.7 kB / 0.6863 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6872, allocations: 0 / 0.6863 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6872, allocations: 4.75 kB / 0.6863 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.6872, allocations: 0 / 0.6863 GB, free: 15.18 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.001477/0.6887, allocations: 0.5968 MB / 0.6869 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.6888, allocations: 9.125 kB / 0.6869 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.122e-05/0.6889, allocations: 42.16 kB / 0.6869 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.689, allocations: 31.55 kB / 0.687 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.6894, allocations: 252.4 kB / 0.6872 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.6895, allocations: 19.81 kB / 0.6872 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6896, allocations: 19.62 kB / 0.6872 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.6902, allocations: 162.4 kB / 0.6874 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6902, allocations: 0 / 0.6874 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.6902, allocations: 7.062 kB / 0.6874 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.6903, allocations: 2.969 kB / 0.6874 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.6905, allocations: 54.92 kB / 0.6875 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.6924, allocations: 0.5329 MB / 0.688 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.6929, allocations: 134.3 kB / 0.6881 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.693, allocations: 9.953 kB / 0.6881 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006791/0.6937, allocations: 213.8 kB / 0.6883 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.216e-06/0.6937, allocations: 0 / 0.6883 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001046/0.6948, allocations: 269.3 kB / 0.6886 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.6948, allocations: 66.72 kB / 0.6886 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.6952, allocations: 245.3 kB / 0.6889 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.6954, allocations: 46.81 kB / 0.6889 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.6955, allocations: 97.36 kB / 0.689 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.6956, allocations: 50.61 kB / 0.6891 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.6956, allocations: 8.688 kB / 0.6891 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.6957, allocations: 322.2 kB / 0.6894 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.6962, allocations: 103.2 kB / 0.6895 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.6966, allocations: 151.6 kB / 0.6896 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.697, allocations: 167.5 kB / 0.6898 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.6971, allocations: 5.562 kB / 0.6898 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001195/0.6983, allocations: 416 kB / 0.6902 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-05/0.6984, allocations: 79.08 kB / 0.6903 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6984, allocations: 1.859 kB / 0.6903 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.6985, allocations: 7 kB / 0.6903 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.6988, allocations: 26.81 kB / 0.6903 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.6988, allocations: 7.688 kB / 0.6903 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009561/0.6998, allocations: 76.55 kB / 0.6904 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.6999, allocations: 43.98 kB / 0.6904 GB, free: 12.32 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.0003339/0.7003, allocations: 178.2 kB / 0.6906 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.7004, allocations: 22.66 kB / 0.6906 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.7004, allocations: 25.02 kB / 0.6906 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.7005, allocations: 2.406 kB / 0.6906 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.7005, allocations: 0.5625 kB / 0.6906 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7005, allocations: 0.6094 kB / 0.6906 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.7017, allocations: 0.5773 MB / 0.6912 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.7017, allocations: 0.5625 kB / 0.6912 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.7018, allocations: 7.484 kB / 0.6912 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.7018, allocations: 5.125 kB / 0.6912 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.7019, allocations: 15.16 kB / 0.6912 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.7019, allocations: 4.516 kB / 0.6912 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7019, allocations: 1.156 kB / 0.6912 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.7026, allocations: 321.1 kB / 0.6915 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.7029, allocations: 160.5 kB / 0.6917 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.703, allocations: 14.81 kB / 0.6917 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.7034, allocations: 10.81 kB / 0.6917 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.7035, allocations: 17.98 kB / 0.6917 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.7036, allocations: 28.64 kB / 0.6918 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002734/0.7039, allocations: 176.4 kB / 0.6919 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7039, allocations: 1.094 kB / 0.6919 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006114/0.7045, allocations: 50.78 kB / 0.692 GB, free: 11.27 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.001043/0.7056, allocations: 0.8839 MB / 0.6928 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009818/0.7066, allocations: 353.4 kB / 0.6932 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7066, allocations: 4.938 kB / 0.6932 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.7069, allocations: 76.44 kB / 0.6933 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.7074, allocations: 30.38 kB / 0.6933 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.7091, allocations: 1.564 MB / 0.6948 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.7094, allocations: 0.7393 MB / 0.6955 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.7097, allocations: 35.19 kB / 0.6956 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.7099, allocations: 45.61 kB / 0.6956 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of SimCode: time 2.504e-06/0.7099, allocations: 0 / 0.6956 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.7467, allocations: 5.075 MB / 0.7006 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.747, allocations: 213 kB / 0.7008 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.239, allocations: 0 / 0.7008 GB, free: 6.098 MB / 0.5261 GB