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.Conversions.Validation.DayTypeCheck.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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004333/0.004337, allocations: 232.4 kB / 15.82 MB, free: 6.297 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.001158/0.001158, allocations: 173.8 kB / 16.7 MB, free: 5.457 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 4.078/4.078, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.777/3.777, allocations: 472.3 MB / 0.9024 GB, free: 18.74 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006471/0.0006474, allocations: 12 kB / 1.008 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2307, allocations: 98.71 MB / 1.105 GB, free: 10.72 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8014/1.032, allocations: 124.7 MB / 1.226 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.032, allocations: 77.12 kB / 1.227 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01452/1.047, allocations: 3.939 MB / 1.23 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/1.047, allocations: 0 / 1.23 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.047, allocations: 0.7188 kB / 1.23 GB, free: 0.8516 MB / 0.6042 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.0004935/1.048, allocations: 399 kB / 1.231 GB, free: 432 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.048, allocations: 9.656 kB / 1.231 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/1.048, allocations: 7.906 kB / 1.231 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/1.048, allocations: 190.5 kB / 1.231 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/1.048, allocations: 4 kB / 1.231 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/1.048, allocations: 8.875 kB / 1.231 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/1.048, allocations: 80.16 kB / 1.231 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.048, allocations: 0 / 1.231 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/1.048, allocations: 8.547 kB / 1.231 GB, free: 104 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.048, allocations: 0 / 1.231 GB, free: 104 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/1.048, allocations: 43.97 kB / 1.231 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007605/1.049, allocations: 336 kB / 1.231 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/1.049, allocations: 121.3 kB / 1.232 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/1.05, allocations: 62.7 kB / 1.232 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/1.05, allocations: 1.281 kB / 1.232 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/1.05, allocations: 90.25 kB / 1.232 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/1.05, allocations: 4 kB / 1.232 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004293/1.05, allocations: 160.7 kB / 1.232 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/1.05, allocations: 51.41 kB / 1.232 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.051, allocations: 130.1 kB / 1.232 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1.051, allocations: 28.77 kB / 1.232 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/1.051, allocations: 96.8 kB / 1.232 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/1.051, allocations: 11.38 kB / 1.232 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/1.051, allocations: 4 kB / 1.232 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.051, allocations: 319.2 kB / 1.232 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/1.051, allocations: 31.55 kB / 1.232 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.051, allocations: 63.92 kB / 1.233 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/1.051, allocations: 34.81 kB / 1.233 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.051, allocations: 0 / 1.233 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002908/1.052, allocations: 134.6 kB / 1.233 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.052, allocations: 8.5 kB / 1.233 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.052, allocations: 1.312 kB / 1.233 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.052, allocations: 3.984 kB / 1.233 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/1.052, allocations: 15.89 kB / 1.233 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.052, allocations: 1.312 kB / 1.233 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/1.052, allocations: 8.047 kB / 1.233 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/1.052, allocations: 19.09 kB / 1.233 GB, free: 14.42 MB / 0.6198 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 () * Number of clocked 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.0001354/1.052, allocations: 124.2 kB / 1.233 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/1.052, allocations: 11.62 kB / 1.233 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/1.052, allocations: 14.84 kB / 1.233 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.052, allocations: 1.188 kB / 1.233 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.052, allocations: 3.953 kB / 1.233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.052, allocations: 3.984 kB / 1.233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/1.053, allocations: 406.6 kB / 1.233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.053, allocations: 0 / 1.233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/1.053, allocations: 0 / 1.233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.053, allocations: 8.031 kB / 1.233 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.053, allocations: 6.828 kB / 1.233 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.053, allocations: 3.984 kB / 1.233 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.053, allocations: 0 / 1.233 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/1.053, allocations: 216.4 kB / 1.233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/1.053, allocations: 81.89 kB / 1.234 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/1.053, allocations: 9.672 kB / 1.234 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/1.053, allocations: 3.953 kB / 1.234 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/1.054, allocations: 19.45 kB / 1.234 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/1.054, allocations: 19.97 kB / 1.234 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.385e-05/1.054, allocations: 100.8 kB / 1.234 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/1.054, allocations: 0 / 1.234 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003169/1.054, allocations: 16 kB / 1.234 GB, free: 13.39 MB / 0.6198 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) * Number of clocked states: 0 () * 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.0001685/1.054, allocations: 115 kB / 1.234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000264/1.054, allocations: 93.33 kB / 1.234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.054, allocations: 0 / 1.234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.055, allocations: 39.3 kB / 1.234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/1.055, allocations: 71.11 kB / 1.234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/1.056, allocations: 222.5 kB / 1.234 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/1.056, allocations: 0.6926 MB / 1.235 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.379e-05/1.056, allocations: 16.42 kB / 1.235 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/1.056, allocations: 11.44 kB / 1.235 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/1.056, allocations: 0 / 1.235 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.005686/1.062, allocations: 1.478 MB / 1.236 GB, free: 10.7 MB / 0.6198 GB