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.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadModel(Buildings): time 4.072/4.072, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.928e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5006, allocations: 98.72 MB / 0.6289 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.6936, allocations: 123.5 MB / 0.7496 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.6939, allocations: 67.97 kB / 0.7496 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003773/0.6977, allocations: 1.151 MB / 0.7508 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.198e-06/0.6977, allocations: 0 / 0.7508 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.368e-06/0.6977, allocations: 0 / 0.7508 GB, free: 2.684 MB / 0.6198 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.000391/0.6981, allocations: 358.2 kB / 0.7511 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6982, allocations: 12.03 kB / 0.7511 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.6982, allocations: 11.86 kB / 0.7511 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.6984, allocations: 182.9 kB / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.6984, allocations: 0 / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.6985, allocations: 8 kB / 0.7513 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/0.6986, allocations: 31.98 kB / 0.7513 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.6988, allocations: 81.38 kB / 0.7514 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-06/0.6988, allocations: 4 kB / 0.7514 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6988, allocations: 0 / 0.7514 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-06/0.6988, allocations: 0 / 0.7514 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.6995, allocations: 425.1 kB / 0.7518 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.6996, allocations: 41.34 kB / 0.7519 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.6997, allocations: 17.78 kB / 0.7519 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-06/0.6997, allocations: 3.984 kB / 0.7519 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6997, allocations: 30.56 kB / 0.7519 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.155e-06/0.6997, allocations: 0 / 0.7519 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.6999, allocations: 53.53 kB / 0.752 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.7, allocations: 81.17 kB / 0.752 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.7001, allocations: 123.4 kB / 0.7522 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.7002, allocations: 25.7 kB / 0.7522 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.7003, allocations: 116 kB / 0.7523 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.27e-06/0.7003, allocations: 3.906 kB / 0.7523 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-06/0.7003, allocations: 0 / 0.7523 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7005, allocations: 318.8 kB / 0.7526 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.7005, allocations: 4 kB / 0.7526 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.7006, allocations: 25.72 kB / 0.7526 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.7006, allocations: 8 kB / 0.7526 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.582e-06/0.7006, allocations: 4.172 kB / 0.7526 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.7008, allocations: 61.56 kB / 0.7527 GB, free: 472 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7008, allocations: 11.94 kB / 0.7527 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-06/0.7008, allocations: 0 / 0.7527 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7008, allocations: 0 / 0.7527 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.7009, allocations: 8.062 kB / 0.7527 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.857e-06/0.7009, allocations: 4 kB / 0.7527 GB, free: 448 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.701, allocations: 7.844 kB / 0.7527 GB, free: 440 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-06/0.701, allocations: 0 / 0.7527 GB, free: 440 kB / 0.6198 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.288e-05/0.7011, allocations: 105 kB / 0.7528 GB, free: 328 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.7011, allocations: 7.859 kB / 0.7528 GB, free: 320 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.7012, allocations: 15.95 kB / 0.7529 GB, free: 304 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.7012, allocations: 3.938 kB / 0.7529 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-06/0.7012, allocations: 0 / 0.7529 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-06/0.7012, allocations: 8 kB / 0.7529 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.7018, allocations: 443.4 kB / 0.7533 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.7018, allocations: 4 kB / 0.7533 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.7018, allocations: 4 kB / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.315e-06/0.7019, allocations: 3.938 kB / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-06/0.7019, allocations: 0 / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-06/0.7019, allocations: 0 / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.623e-06/0.7019, allocations: 0 / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.702, allocations: 95.62 kB / 0.7534 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.7021, allocations: 81.11 kB / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.7021, allocations: 0 / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.921e-05/0.7022, allocations: 4 kB / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.7022, allocations: 3.984 kB / 0.7535 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-06/0.7022, allocations: 4.031 kB / 0.7535 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.779e-05/0.7023, allocations: 107.2 kB / 0.7536 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.71e-07/0.7023, allocations: 0 / 0.7536 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002555/0.7026, allocations: 8 kB / 0.7536 GB, free: 15.45 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.000138/0.7028, allocations: 109.3 kB / 0.7537 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.979e-05/0.7029, allocations: 12 kB / 0.7537 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.423e-06/0.7029, allocations: 0 / 0.7537 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.7029, allocations: 12.12 kB / 0.7537 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.703, allocations: 7.953 kB / 0.7537 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.7034, allocations: 114.9 kB / 0.7538 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.7038, allocations: 0.7001 MB / 0.7545 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.7038, allocations: 8.312 kB / 0.7545 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.7038, allocations: 7.438 kB / 0.7545 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of SimCode: time 1.311e-06/0.7038, allocations: 0 / 0.7545 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.002665/0.7065, allocations: 323 kB / 0.7548 GB, free: 14.11 MB / 0.6355 GB