Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009189/0.009189, allocations: 106.9 kB / 15.06 MB, free: 5.562 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.001126/0.001126, allocations: 177.9 kB / 15.95 MB, free: 5.523 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 2.198/2.198, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.187/2.187, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5386, allocations: 98.72 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.000922/0.5396, allocations: 0.5489 MB / 0.6839 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.5397, allocations: 46.91 kB / 0.6839 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.5398, allocations: 1.438 kB / 0.6839 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.5398, allocations: 5.484 kB / 0.6839 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.5399, allocations: 11.53 kB / 0.6839 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-05/0.54, allocations: 10.12 kB / 0.684 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.5401, allocations: 42.25 kB / 0.684 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.5402, allocations: 38.61 kB / 0.684 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.5402, allocations: 13.38 kB / 0.684 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.5403, allocations: 24.77 kB / 0.6841 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.5403, allocations: 2.156 kB / 0.6841 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-06/0.5404, allocations: 2.844 kB / 0.6841 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.5404, allocations: 18.48 kB / 0.6841 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.5404, allocations: 37.55 kB / 0.6841 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.01e-05/0.5405, allocations: 51 kB / 0.6842 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.403e-06/0.5405, allocations: 0 / 0.6842 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.751e-06/0.5405, allocations: 0 / 0.6842 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.133e-06/0.5405, allocations: 0 / 0.6842 GB, free: 16.22 MB / 0.5261 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.0003241/0.5409, allocations: 373.1 kB / 0.6845 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.5409, allocations: 9.125 kB / 0.6845 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.541, allocations: 17.59 kB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.5411, allocations: 195.8 kB / 0.6847 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5412, allocations: 7 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.5412, allocations: 6.703 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.5414, allocations: 96.28 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.743e-06/0.5414, allocations: 1.375 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5414, allocations: 4.703 kB / 0.6849 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-06/0.5414, allocations: 2.562 kB / 0.6849 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.5416, allocations: 43.66 kB / 0.6849 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.5421, allocations: 446.9 kB / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.5422, allocations: 41.19 kB / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-06/0.5422, allocations: 4 kB / 0.6854 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.5422, allocations: 33.56 kB / 0.6854 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.04e-06/0.5422, allocations: 0 / 0.6854 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.5424, allocations: 61.86 kB / 0.6855 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.5425, allocations: 79.28 kB / 0.6855 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.5426, allocations: 167.8 kB / 0.6857 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.14e-06/0.5427, allocations: 29.7 kB / 0.6857 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.5427, allocations: 105.6 kB / 0.6858 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.565e-06/0.5428, allocations: 5.031 kB / 0.6858 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-06/0.5428, allocations: 0 / 0.6858 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.5428, allocations: 324.8 kB / 0.6861 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.5429, allocations: 5.094 kB / 0.6861 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.5429, allocations: 19.97 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.5429, allocations: 13.97 kB / 0.6862 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-06/0.543, allocations: 7.891 kB / 0.6862 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.5431, allocations: 58.44 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5431, allocations: 5.094 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.358e-06/0.5431, allocations: 1.25 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5431, allocations: 0.9375 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.5432, allocations: 6.125 kB / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.251e-06/0.5432, allocations: 5.812 kB / 0.6863 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.5433, allocations: 9.781 kB / 0.6863 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5433, allocations: 5.062 kB / 0.6863 GB, free: 14.19 MB / 0.5261 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 () * Number of clocked 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.679e-05/0.5434, allocations: 114.6 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.5435, allocations: 13.5 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.5435, allocations: 12.95 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-06/0.5435, allocations: 1.25 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5435, allocations: 1.25 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.34e-06/0.5436, allocations: 4.594 kB / 0.6864 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.544, allocations: 481 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-06/0.544, allocations: 0 / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.544, allocations: 3.359 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.826e-06/0.544, allocations: 1.562 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-06/0.5441, allocations: 4.594 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-06/0.5441, allocations: 1.094 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.31e-06/0.5441, allocations: 1.531 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.5442, allocations: 99.61 kB / 0.687 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.5443, allocations: 95.33 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.5443, allocations: 1.094 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.5443, allocations: 8.688 kB / 0.6871 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.5444, allocations: 3.234 kB / 0.6871 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.5444, allocations: 0 / 0.6871 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001029/0.5445, allocations: 122.3 kB / 0.6872 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.62e-07/0.5445, allocations: 5.188 kB / 0.6872 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002544/0.5447, allocations: 11.28 kB / 0.6872 GB, free: 13.25 MB / 0.5261 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 () * Number of clocked 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 9.17e-05/0.5449, allocations: 103 kB / 0.6873 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.701e-05/0.545, allocations: 20.84 kB / 0.6873 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.293e-06/0.545, allocations: 0 / 0.6873 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.545, allocations: 5.141 kB / 0.6873 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.5451, allocations: 11.22 kB / 0.6873 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.5455, allocations: 197.4 kB / 0.6875 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.5457, allocations: 0.7043 MB / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.5457, allocations: 6.688 kB / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.5458, allocations: 10.03 kB / 0.6882 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of SimCode: time 1.209e-06/0.5458, allocations: 1 kB / 0.6882 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of Templates: time 0.003096/0.5489, allocations: 438 kB / 0.6887 GB, free: 12.19 MB / 0.5261 GB