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.UnitConversions.Validation.To_ton.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.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadModel(Buildings): time 4.075/4.075, allocations: 433.4 MB / 440.9 MB, free: 4.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.564e-05, allocations: 5.406 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 98.73 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.4004, allocations: 123.5 MB / 0.7496 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4007, allocations: 67.95 kB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003814/0.4045, allocations: 1.154 MB / 0.7508 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.252e-06/0.4046, allocations: 0 / 0.7508 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.4046, allocations: 4 kB / 0.7508 GB, free: 12.22 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003969/0.405, allocations: 362.2 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.405, allocations: 16.02 kB / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.4051, allocations: 12.08 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.4053, allocations: 178.9 kB / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4053, allocations: 3.938 kB / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.4054, allocations: 8 kB / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001149/0.4055, allocations: 32 kB / 0.7514 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4057, allocations: 89.73 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.141e-06/0.4057, allocations: 0 / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4057, allocations: 0 / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.394e-06/0.4057, allocations: 7.953 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.4064, allocations: 417.2 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.829e-05/0.4065, allocations: 41.2 kB / 0.7519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.4066, allocations: 13.72 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4066, allocations: 4.062 kB / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4066, allocations: 38.59 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.166e-06/0.4066, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.4068, allocations: 41.61 kB / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.4069, allocations: 81.17 kB / 0.7521 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4071, allocations: 121.2 kB / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.4071, allocations: 25.7 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.4072, allocations: 112 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.4072, allocations: 15.89 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-06/0.4072, allocations: 3.938 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4074, allocations: 310.8 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.4074, allocations: 8 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.4075, allocations: 21.72 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.4075, allocations: 19.94 kB / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-06/0.4076, allocations: 0 / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001193/0.4077, allocations: 45.7 kB / 0.7527 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4077, allocations: 7.938 kB / 0.7527 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4077, allocations: 4 kB / 0.7527 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4078, allocations: 0 / 0.7527 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.4078, allocations: 11.92 kB / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.332e-06/0.4079, allocations: 4.062 kB / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.4079, allocations: 7.906 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-06/0.4079, allocations: 0 / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.837e-05/0.408, allocations: 108.9 kB / 0.7528 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.4081, allocations: 8 kB / 0.7529 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.4081, allocations: 7.969 kB / 0.7529 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-06/0.4082, allocations: 3.938 kB / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-06/0.4082, allocations: 0 / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4082, allocations: 0 / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.4087, allocations: 459.3 kB / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-06/0.4087, allocations: 4 kB / 0.7533 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.4088, allocations: 3.984 kB / 0.7533 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.4088, allocations: 7.984 kB / 0.7533 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-06/0.4088, allocations: 0 / 0.7533 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-06/0.4088, allocations: 0 / 0.7533 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.83e-06/0.4088, allocations: 0 / 0.7533 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.409, allocations: 95.58 kB / 0.7534 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.4091, allocations: 85.09 kB / 0.7535 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.4091, allocations: 0 / 0.7535 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.4091, allocations: 0 / 0.7535 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.4092, allocations: 4 kB / 0.7535 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-06/0.4092, allocations: 0 / 0.7535 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.536e-05/0.4093, allocations: 108.9 kB / 0.7536 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.36e-07/0.4093, allocations: 0 / 0.7536 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002621/0.4096, allocations: 11.91 kB / 0.7536 GB, free: 8.969 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001278/0.4097, allocations: 95.86 kB / 0.7537 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.4098, allocations: 20 kB / 0.7537 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.175e-06/0.4098, allocations: 0 / 0.7537 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.4099, allocations: 7.938 kB / 0.7537 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.41, allocations: 12.2 kB / 0.7537 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.4103, allocations: 105 kB / 0.7538 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.4107, allocations: 0.7041 MB / 0.7545 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.4108, allocations: 4.172 kB / 0.7545 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.4108, allocations: 15.38 kB / 0.7545 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of SimCode: time 1.327e-06/0.4108, allocations: 4 kB / 0.7546 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of Templates: time 0.002638/0.4135, allocations: 314.2 kB / 0.7549 GB, free: 7.641 MB / 0.6355 GB