Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01064/0.01064, allocations: 89.09 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001194/0.001194, allocations: 171.1 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.367/2.367, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.715/2.715, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006552, allocations: 18.34 kB / 0.6244 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2721, allocations: 106.2 MB / 0.7281 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002528/0.2747, allocations: 1.375 MB / 0.7294 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.276, allocations: 451.7 kB / 0.7299 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.2761, allocations: 0 / 0.7299 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.128e-05/0.2762, allocations: 7.922 kB / 0.7299 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2763, allocations: 23.97 kB / 0.7299 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.2773, allocations: 215.5 kB / 0.7301 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.2777, allocations: 179.7 kB / 0.7303 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2778, allocations: 37.36 kB / 0.7303 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.2782, allocations: 175.5 kB / 0.7305 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.2785, allocations: 123.7 kB / 0.7306 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.2786, allocations: 12 kB / 0.7306 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.2787, allocations: 8 kB / 0.7306 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2789, allocations: 83.72 kB / 0.7307 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.279, allocations: 73.58 kB / 0.7308 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.2795, allocations: 319.5 kB / 0.7311 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2795, allocations: 0 / 0.7311 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2795, allocations: 0 / 0.7311 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.2795, allocations: 0 / 0.7311 GB, free: 7.023 MB / 0.5573 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.001601/0.2811, allocations: 0.6414 MB / 0.7317 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2812, allocations: 8.031 kB / 0.7317 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.49e-05/0.2813, allocations: 42.55 kB / 0.7317 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.2814, allocations: 35.62 kB / 0.7318 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.282, allocations: 271.1 kB / 0.732 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.282, allocations: 19.98 kB / 0.7321 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2822, allocations: 20 kB / 0.7321 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.2827, allocations: 169.5 kB / 0.7322 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2827, allocations: 0 / 0.7322 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.2828, allocations: 4 kB / 0.7322 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.2828, allocations: 4 kB / 0.7322 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.2831, allocations: 59.91 kB / 0.7323 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.2849, allocations: 0.5589 MB / 0.7328 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.2855, allocations: 142.6 kB / 0.733 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.2855, allocations: 4 kB / 0.733 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007313/0.2863, allocations: 232.2 kB / 0.7332 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.835e-06/0.2863, allocations: 0 / 0.7332 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.00102/0.2873, allocations: 281.1 kB / 0.7335 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.2874, allocations: 75.38 kB / 0.7335 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.2879, allocations: 312.4 kB / 0.7338 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/0.288, allocations: 37.7 kB / 0.7339 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2881, allocations: 101 kB / 0.734 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.2882, allocations: 39.45 kB / 0.734 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.2883, allocations: 8 kB / 0.734 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2884, allocations: 326.8 kB / 0.7343 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.2889, allocations: 104.2 kB / 0.7344 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.2893, allocations: 164.3 kB / 0.7346 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.2898, allocations: 166.4 kB / 0.7347 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2898, allocations: 0 / 0.7347 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001271/0.2911, allocations: 438.1 kB / 0.7352 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.2912, allocations: 83.31 kB / 0.7352 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.2912, allocations: 11.95 kB / 0.7353 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.2913, allocations: 0 / 0.7353 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.2916, allocations: 35.86 kB / 0.7353 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.2916, allocations: 3.984 kB / 0.7353 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009535/0.2926, allocations: 72.05 kB / 0.7354 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.2927, allocations: 47.98 kB / 0.7354 GB, free: 2.262 MB / 0.5573 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.0003536/0.2931, allocations: 189.7 kB / 0.7356 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.2931, allocations: 35.61 kB / 0.7356 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-05/0.2932, allocations: 34.36 kB / 0.7357 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2933, allocations: 3.953 kB / 0.7357 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2933, allocations: 0 / 0.7357 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2933, allocations: 0 / 0.7357 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.2946, allocations: 0.5919 MB / 0.7362 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2946, allocations: 0 / 0.7362 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.2947, allocations: 11.94 kB / 0.7363 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.2948, allocations: 7.984 kB / 0.7363 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.2948, allocations: 15.98 kB / 0.7363 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2948, allocations: 0 / 0.7363 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.2949, allocations: 7.938 kB / 0.7363 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.2956, allocations: 323.1 kB / 0.7366 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.2959, allocations: 180.6 kB / 0.7368 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.296, allocations: 11.95 kB / 0.7368 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.2964, allocations: 19.92 kB / 0.7368 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.2965, allocations: 19.97 kB / 0.7368 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.2966, allocations: 31.98 kB / 0.7368 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003605/0.297, allocations: 223 kB / 0.7371 GB, free: 484 kB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/0.297, allocations: 0 / 0.7371 GB, free: 484 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005357/0.2976, allocations: 55.98 kB / 0.7371 GB, free: 428 kB / 0.5573 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.001233/0.2988, allocations: 0.8853 MB / 0.738 GB, free: 15.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000998/0.2998, allocations: 370.7 kB / 0.7383 GB, free: 15.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.2999, allocations: 0 / 0.7383 GB, free: 15.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.3001, allocations: 71.91 kB / 0.7384 GB, free: 15.04 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.3006, allocations: 36.53 kB / 0.7384 GB, free: 15.01 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.3027, allocations: 1.657 MB / 0.74 GB, free: 13.28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3032, allocations: 0.7517 MB / 0.7408 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002734/0.3035, allocations: 45.36 kB / 0.7408 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.3038, allocations: 55.41 kB / 0.7409 GB, free: 12.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.423e-06/0.3038, allocations: 0 / 0.7409 GB, free: 12.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.3417, allocations: 5.495 MB / 0.7462 GB, free: 7.078 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/0.342, allocations: 226.1 kB / 0.7465 GB, free: 6.828 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/2.932, allocations: 0 / 0.7465 GB, free: 6.828 MB / 0.573 GB