Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadModel(Buildings): time 3.776/3.776, allocations: 433.4 MB / 440.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.858e-05, allocations: 8 kB / 0.5326 GB, free: 1.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5061, allocations: 98.72 MB / 0.629 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.6973, allocations: 125.9 MB / 0.7519 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.6976, allocations: 71.95 kB / 0.752 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.7173, allocations: 4.885 MB / 0.7568 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.889e-06/0.7173, allocations: 0 / 0.7568 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.923e-06/0.7173, allocations: 0 / 0.7568 GB, free: 12.62 MB / 0.6355 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.0009803/0.7183, allocations: 0.5715 MB / 0.7573 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7184, allocations: 12.02 kB / 0.7574 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.7185, allocations: 31.67 kB / 0.7574 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.7187, allocations: 197.8 kB / 0.7576 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.7187, allocations: 8 kB / 0.7576 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.7188, allocations: 16 kB / 0.7576 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001729/0.719, allocations: 47.98 kB / 0.7576 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.7194, allocations: 153.5 kB / 0.7578 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.763e-06/0.7194, allocations: 0 / 0.7578 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.7194, allocations: 7.984 kB / 0.7578 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-06/0.7195, allocations: 4 kB / 0.7578 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.7207, allocations: 0.5283 MB / 0.7583 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.7211, allocations: 126.7 kB / 0.7584 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.7212, allocations: 53.11 kB / 0.7585 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.7213, allocations: 11.92 kB / 0.7585 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.7217, allocations: 199.7 kB / 0.7587 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.647e-06/0.7218, allocations: 0 / 0.7587 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005617/0.7223, allocations: 211.4 kB / 0.7589 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.7224, allocations: 63.39 kB / 0.7589 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.7227, allocations: 216.3 kB / 0.7592 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.7228, allocations: 41.69 kB / 0.7592 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.7229, allocations: 92.86 kB / 0.7593 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.723, allocations: 43.5 kB / 0.7593 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.723, allocations: 7.984 kB / 0.7593 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7232, allocations: 326.8 kB / 0.7596 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.7235, allocations: 100.2 kB / 0.7597 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.7239, allocations: 146.2 kB / 0.7599 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.7241, allocations: 87.12 kB / 0.76 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-06/0.7241, allocations: 0 / 0.76 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008807/0.725, allocations: 327.7 kB / 0.7603 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/0.7251, allocations: 83.31 kB / 0.7604 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7251, allocations: 0 / 0.7604 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.7252, allocations: 4 kB / 0.7604 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.7254, allocations: 23.92 kB / 0.7604 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.241e-06/0.7254, allocations: 4 kB / 0.7604 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.7258, allocations: 48 kB / 0.7604 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.726, allocations: 51.91 kB / 0.7605 GB, free: 8.582 MB / 0.6355 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 () * 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.0001736/0.7261, allocations: 132 kB / 0.7606 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.7262, allocations: 23.72 kB / 0.7606 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.7263, allocations: 21.95 kB / 0.7606 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-06/0.7263, allocations: 4 kB / 0.7607 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7263, allocations: 0 / 0.7607 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7263, allocations: 4 kB / 0.7607 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009351/0.7273, allocations: 0.53 MB / 0.7612 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.477e-06/0.7273, allocations: 4 kB / 0.7612 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.7274, allocations: 7.938 kB / 0.7612 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.302e-06/0.7274, allocations: 0 / 0.7612 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.7274, allocations: 19.97 kB / 0.7612 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.573e-06/0.7274, allocations: 0 / 0.7612 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7275, allocations: 0 / 0.7612 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.728, allocations: 316.5 kB / 0.7615 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.7282, allocations: 148.8 kB / 0.7616 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.7283, allocations: 11.98 kB / 0.7617 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.7285, allocations: 12 kB / 0.7617 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.7286, allocations: 15.97 kB / 0.7617 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.7287, allocations: 23.98 kB / 0.7617 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002027/0.7289, allocations: 168.5 kB / 0.7619 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.25e-07/0.7289, allocations: 0 / 0.7619 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004429/0.7294, allocations: 51.91 kB / 0.7619 GB, free: 7.016 MB / 0.6355 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) * 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.0002091/0.7296, allocations: 136.2 kB / 0.7621 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006824/0.7303, allocations: 346.9 kB / 0.7624 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.934e-06/0.7303, allocations: 0 / 0.7624 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.7305, allocations: 67.92 kB / 0.7624 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.7308, allocations: 34.52 kB / 0.7625 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.7315, allocations: 251.4 kB / 0.7627 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.7322, allocations: 0.7397 MB / 0.7634 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002948/0.7325, allocations: 33.2 kB / 0.7635 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.7328, allocations: 31.42 kB / 0.7635 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of SimCode: time 1.691e-06/0.7328, allocations: 0 / 0.7635 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of Templates: time 0.01673/0.7495, allocations: 4.162 MB / 0.7676 GB, free: 1.176 MB / 0.6355 GB