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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadModel(Buildings): time 4.162/4.162, allocations: 433.4 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.456e-05, allocations: 4 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6913/0.6914, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.8846, allocations: 123.5 MB / 0.7496 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.8849, allocations: 71.89 kB / 0.7496 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003807/0.8887, allocations: 1.151 MB / 0.7508 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.76e-06/0.8888, allocations: 0 / 0.7508 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.192e-06/0.8888, allocations: 0 / 0.7508 GB, free: 2.801 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.0004169/0.8892, allocations: 366.2 kB / 0.7511 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8893, allocations: 8.031 kB / 0.7511 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.8893, allocations: 15.86 kB / 0.7511 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.8895, allocations: 182.9 kB / 0.7513 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.8896, allocations: 4 kB / 0.7513 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.8896, allocations: 4 kB / 0.7513 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001165/0.8897, allocations: 35.94 kB / 0.7514 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.8899, allocations: 80.8 kB / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.874e-06/0.8899, allocations: 0 / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8899, allocations: 4 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-06/0.8899, allocations: 0 / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.8906, allocations: 417.3 kB / 0.7518 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.886e-05/0.8907, allocations: 41.08 kB / 0.7519 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.8908, allocations: 17.84 kB / 0.7519 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.8908, allocations: 0 / 0.7519 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.8908, allocations: 30.56 kB / 0.7519 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.978e-06/0.8908, allocations: 4 kB / 0.7519 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001838/0.891, allocations: 49.55 kB / 0.752 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8911, allocations: 77.11 kB / 0.752 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.8912, allocations: 122.4 kB / 0.7522 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.8913, allocations: 29.7 kB / 0.7522 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.8914, allocations: 112 kB / 0.7523 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.8914, allocations: 7.891 kB / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-06/0.8914, allocations: 4.062 kB / 0.7523 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.8916, allocations: 318.8 kB / 0.7526 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.8916, allocations: 4 kB / 0.7526 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.8917, allocations: 21.7 kB / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.8917, allocations: 16.14 kB / 0.7526 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.564e-06/0.8917, allocations: 3.953 kB / 0.7527 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.8919, allocations: 57.7 kB / 0.7527 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8919, allocations: 8 kB / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8919, allocations: 0 / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8919, allocations: 0 / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.892, allocations: 8 kB / 0.7527 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8921, allocations: 3.984 kB / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.8921, allocations: 7.844 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.8921, allocations: 7.938 kB / 0.7527 GB, free: 0.5391 MB / 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.492e-05/0.8922, allocations: 101 kB / 0.7528 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.8923, allocations: 15.8 kB / 0.7529 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.8924, allocations: 11.97 kB / 0.7529 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-06/0.8924, allocations: 0 / 0.7529 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-06/0.8924, allocations: 4 kB / 0.7529 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-06/0.8924, allocations: 0 / 0.7529 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.893, allocations: 447.3 kB / 0.7533 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-06/0.893, allocations: 0 / 0.7533 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.893, allocations: 4 kB / 0.7533 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.678e-06/0.893, allocations: 8.047 kB / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-06/0.8931, allocations: 0 / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-06/0.8931, allocations: 4 kB / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8931, allocations: 0 / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.8932, allocations: 87.58 kB / 0.7534 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.8933, allocations: 81.09 kB / 0.7535 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.8933, allocations: 8.031 kB / 0.7535 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/0.8934, allocations: 4 kB / 0.7535 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.8934, allocations: 3.938 kB / 0.7535 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-06/0.8934, allocations: 0 / 0.7535 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001008/0.8935, allocations: 113.5 kB / 0.7536 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.33e-07/0.8936, allocations: 0 / 0.7536 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002596/0.8938, allocations: 8 kB / 0.7536 GB, free: 15.55 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.0001386/0.894, allocations: 105.4 kB / 0.7537 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.8941, allocations: 16 kB / 0.7537 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.616e-06/0.8941, allocations: 0 / 0.7537 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.8941, allocations: 7.938 kB / 0.7537 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.8943, allocations: 7.953 kB / 0.7537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.8946, allocations: 108.9 kB / 0.7538 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.895, allocations: 0.7043 MB / 0.7545 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.895, allocations: 8.172 kB / 0.7545 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.8951, allocations: 7.438 kB / 0.7545 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of SimCode: time 1.5e-06/0.8951, allocations: 0 / 0.7545 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.00265/0.8977, allocations: 323 kB / 0.7548 GB, free: 14.22 MB / 0.6355 GB