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.Conversions.Validation.DayTypeCheck.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadModel(Buildings): time 4.062/4.062, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.17e-05/3.185e-05, allocations: 8.094 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 98.71 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.3686, allocations: 124.6 MB / 0.7564 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3689, allocations: 67.97 kB / 0.7565 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01615/0.385, allocations: 3.933 MB / 0.7603 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.86e-06/0.3851, allocations: 0 / 0.7603 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.3851, allocations: 4 kB / 0.7603 GB, free: 1.109 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005078/0.3856, allocations: 390.2 kB / 0.7607 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3857, allocations: 8.031 kB / 0.7607 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.3857, allocations: 11.89 kB / 0.7607 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.386, allocations: 186.9 kB / 0.7609 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.386, allocations: 4 kB / 0.7609 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3861, allocations: 12 kB / 0.7609 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3863, allocations: 81.59 kB / 0.761 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.174e-06/0.3863, allocations: 0 / 0.761 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3863, allocations: 0 / 0.761 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-06/0.3863, allocations: 3.938 kB / 0.761 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3864, allocations: 39.98 kB / 0.761 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.3872, allocations: 340.8 kB / 0.7614 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.3874, allocations: 118.5 kB / 0.7615 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3876, allocations: 60.88 kB / 0.7615 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3876, allocations: 0 / 0.7615 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.3878, allocations: 91.61 kB / 0.7616 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.53e-06/0.3878, allocations: 0 / 0.7616 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003159/0.3881, allocations: 121.5 kB / 0.7617 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3882, allocations: 59.39 kB / 0.7618 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3884, allocations: 113.1 kB / 0.7619 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3884, allocations: 33.64 kB / 0.7619 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3885, allocations: 96.03 kB / 0.762 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3885, allocations: 15.81 kB / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.3885, allocations: 4 kB / 0.762 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3887, allocations: 322.8 kB / 0.7624 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.3888, allocations: 32 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3889, allocations: 54.55 kB / 0.7624 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.389, allocations: 35.98 kB / 0.7625 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-06/0.3891, allocations: 0 / 0.7625 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002809/0.3893, allocations: 133.5 kB / 0.7626 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3894, allocations: 11.98 kB / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-06/0.3894, allocations: 0 / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3894, allocations: 0 / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.3895, allocations: 12 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3895, allocations: 7.891 kB / 0.7626 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.3896, allocations: 8.047 kB / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.3897, allocations: 23.98 kB / 0.7627 GB, free: 14.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001063/0.3899, allocations: 113 kB / 0.7628 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.3899, allocations: 7.906 kB / 0.7628 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.3899, allocations: 16.62 kB / 0.7628 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-06/0.39, allocations: 0 / 0.7628 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.39, allocations: 0 / 0.7628 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.491e-06/0.39, allocations: 3.953 kB / 0.7628 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.3906, allocations: 410.5 kB / 0.7632 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-06/0.3906, allocations: 0 / 0.7632 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.3907, allocations: 7.938 kB / 0.7632 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.46e-06/0.3907, allocations: 0 / 0.7632 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3907, allocations: 4 kB / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3907, allocations: 3.953 kB / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-06/0.3907, allocations: 0 / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.391, allocations: 223.4 kB / 0.7634 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.3911, allocations: 85.02 kB / 0.7635 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3911, allocations: 4 kB / 0.7635 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3912, allocations: 4 kB / 0.7635 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.3913, allocations: 11.94 kB / 0.7635 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.3914, allocations: 23.95 kB / 0.7635 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.838e-05/0.3915, allocations: 91.28 kB / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.23e-07/0.3915, allocations: 0 / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003435/0.3918, allocations: 16 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000172/0.392, allocations: 115.2 kB / 0.7637 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.3923, allocations: 87.91 kB / 0.7638 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.77e-06/0.3923, allocations: 8 kB / 0.7638 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3924, allocations: 43.92 kB / 0.7639 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3929, allocations: 66.17 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.3933, allocations: 147.1 kB / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3937, allocations: 0.7004 MB / 0.7648 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.788e-05/0.3937, allocations: 8.438 kB / 0.7648 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.3938, allocations: 19.42 kB / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.794e-06/0.3938, allocations: 0 / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.005177/0.399, allocations: 1.488 MB / 0.7662 GB, free: 10.69 MB / 0.6511 GB