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_Btu.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.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadModel(Buildings): time 3.952/3.952, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.261e-05, allocations: 5.844 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2058, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.4004, allocations: 124.2 MB / 0.756 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4007, allocations: 63.97 kB / 0.7561 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003925/0.4046, allocations: 1.165 MB / 0.7572 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4046, allocations: 4 kB / 0.7572 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.4047, allocations: 0 / 0.7572 GB, free: 4.277 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.000374/0.405, allocations: 354.3 kB / 0.7576 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4051, allocations: 12.03 kB / 0.7576 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.4051, allocations: 11.86 kB / 0.7576 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.4053, allocations: 174.9 kB / 0.7578 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4054, allocations: 8 kB / 0.7578 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.4054, allocations: 4 kB / 0.7578 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.4056, allocations: 101 kB / 0.7579 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4056, allocations: 0 / 0.7579 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.4056, allocations: 4 kB / 0.7579 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-06/0.4056, allocations: 4 kB / 0.7579 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4058, allocations: 35.94 kB / 0.7579 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.4065, allocations: 464.5 kB / 0.7584 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.932e-05/0.4066, allocations: 41.25 kB / 0.7584 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.4066, allocations: 19.53 kB / 0.7584 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.4067, allocations: 7.984 kB / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4067, allocations: 30.56 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.045e-06/0.4067, allocations: 0 / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.4069, allocations: 49.55 kB / 0.7585 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.407, allocations: 81.11 kB / 0.7586 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4072, allocations: 157.5 kB / 0.7587 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4072, allocations: 33.77 kB / 0.7588 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.4073, allocations: 108.2 kB / 0.7589 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.4073, allocations: 7.844 kB / 0.7589 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-06/0.4073, allocations: 0 / 0.7589 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4075, allocations: 330.7 kB / 0.7592 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.4076, allocations: 8 kB / 0.7592 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.4076, allocations: 17.72 kB / 0.7592 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.4076, allocations: 12 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-06/0.4077, allocations: 0 / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.4078, allocations: 65.53 kB / 0.7593 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4078, allocations: 4 kB / 0.7593 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-06/0.4078, allocations: 0 / 0.7593 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4079, allocations: 4 kB / 0.7593 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.4079, allocations: 4 kB / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.408, allocations: 0 / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.408, allocations: 11.94 kB / 0.7593 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-06/0.4081, allocations: 8 kB / 0.7593 GB, free: 1.902 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 7.862e-05/0.4081, allocations: 104.9 kB / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.4082, allocations: 19.8 kB / 0.7594 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.4083, allocations: 8.562 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-06/0.4083, allocations: 4 kB / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4083, allocations: 4 kB / 0.7594 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-06/0.4083, allocations: 0 / 0.7594 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.4089, allocations: 482.8 kB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-06/0.4089, allocations: 0 / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.4089, allocations: 4 kB / 0.7599 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.205e-06/0.4089, allocations: 0 / 0.7599 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-06/0.409, allocations: 0 / 0.7599 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-06/0.409, allocations: 0 / 0.7599 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.225e-06/0.409, allocations: 3.984 kB / 0.7599 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.4091, allocations: 103.6 kB / 0.76 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.4092, allocations: 93 kB / 0.7601 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.4092, allocations: 0 / 0.7601 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.4093, allocations: 0 / 0.7601 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.4093, allocations: 4 kB / 0.7601 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-06/0.4093, allocations: 0 / 0.7601 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001357/0.4095, allocations: 131 kB / 0.7602 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.89e-06/0.4095, allocations: 32 / 0.7602 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002475/0.4097, allocations: 15.94 kB / 0.7602 GB, free: 0.8281 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.0001173/0.4099, allocations: 99.25 kB / 0.7603 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.172e-05/0.41, allocations: 19.94 kB / 0.7604 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.41, allocations: 4 kB / 0.7604 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.41, allocations: 8 kB / 0.7604 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.4102, allocations: 7.938 kB / 0.7604 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.4105, allocations: 118.1 kB / 0.7605 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.4108, allocations: 0.7004 MB / 0.7612 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.4109, allocations: 4.438 kB / 0.7612 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.4109, allocations: 11.44 kB / 0.7612 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.268e-06/0.4109, allocations: 0 / 0.7612 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.002915/0.4139, allocations: 452.9 kB / 0.7616 GB, free: 15.36 MB / 0.6511 GB