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.From_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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01518/0.01519, allocations: 108.5 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.001362/0.001362, allocations: 180.2 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 1.869/1.869, allocations: 194.6 MB / 211.3 MB, free: 11.31 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.319/2.319, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000807/0.0008072, allocations: 16 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.6095, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0009597/0.6105, allocations: 0.5448 MB / 0.6839 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001203/0.6106, allocations: 50.67 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.6107, allocations: 2.094 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.6107, allocations: 6.141 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.6108, allocations: 15 kB / 0.6839 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.274e-05/0.6109, allocations: 14.53 kB / 0.684 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.611, allocations: 38.48 kB / 0.684 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.6111, allocations: 35.44 kB / 0.684 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.6112, allocations: 18.89 kB / 0.684 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.6113, allocations: 22.14 kB / 0.6841 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.6113, allocations: 1.156 kB / 0.6841 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-06/0.6113, allocations: 2.406 kB / 0.6841 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.6113, allocations: 10.78 kB / 0.6841 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.6114, allocations: 37.89 kB / 0.6841 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.36e-05/0.6115, allocations: 54.2 kB / 0.6842 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6115, allocations: 3.938 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.308e-06/0.6115, allocations: 5.578 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.632e-06/0.6115, allocations: 0 / 0.6842 GB, free: 16.28 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.0003281/0.6119, allocations: 372 kB / 0.6845 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6119, allocations: 9.781 kB / 0.6845 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.6119, allocations: 12.91 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.6121, allocations: 197.2 kB / 0.6847 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.6122, allocations: 6.875 kB / 0.6847 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.6122, allocations: 9.312 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.6124, allocations: 99.22 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.732e-06/0.6124, allocations: 0 / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6124, allocations: 5.438 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-06/0.6124, allocations: 1.375 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.6125, allocations: 41.17 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.6131, allocations: 453.2 kB / 0.6853 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.6132, allocations: 39.25 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.6132, allocations: 0 / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.6133, allocations: 39.62 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.753e-06/0.6133, allocations: 4 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002049/0.6135, allocations: 54.98 kB / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6135, allocations: 79.2 kB / 0.6855 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.6137, allocations: 164.3 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.602e-06/0.6137, allocations: 29.7 kB / 0.6857 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.6138, allocations: 104.9 kB / 0.6858 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.6138, allocations: 5.641 kB / 0.6858 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.6138, allocations: 0 / 0.6858 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.6139, allocations: 325 kB / 0.6861 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.614, allocations: 8.188 kB / 0.6861 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.614, allocations: 16.5 kB / 0.6862 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.614, allocations: 13.09 kB / 0.6862 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-06/0.6141, allocations: 4.984 kB / 0.6862 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00012/0.6142, allocations: 58.84 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6142, allocations: 5.938 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-06/0.6142, allocations: 4.062 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6142, allocations: 1.094 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.6143, allocations: 6.797 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.866e-06/0.6144, allocations: 5.125 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.6144, allocations: 9.812 kB / 0.6863 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-06/0.6144, allocations: 1.844 kB / 0.6863 GB, free: 14.25 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 6.971e-05/0.6145, allocations: 114.1 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.6146, allocations: 17.11 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.6146, allocations: 17.52 kB / 0.6864 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-06/0.6146, allocations: 1.156 kB / 0.6864 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-06/0.6147, allocations: 1.406 kB / 0.6864 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.762e-06/0.6147, allocations: 0.5625 kB / 0.6864 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.6151, allocations: 475.2 kB / 0.6869 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6151, allocations: 2.047 kB / 0.6869 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.6152, allocations: 6.984 kB / 0.6869 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.058e-06/0.6152, allocations: 1.375 kB / 0.6869 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-06/0.6152, allocations: 4 kB / 0.6869 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.348e-06/0.6152, allocations: 2.219 kB / 0.6869 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.202e-06/0.6152, allocations: 4 kB / 0.6869 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.6153, allocations: 104.8 kB / 0.687 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.6154, allocations: 86.59 kB / 0.6871 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.6154, allocations: 4.734 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.6155, allocations: 1.094 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.6155, allocations: 2.172 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-06/0.6155, allocations: 2 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001063/0.6156, allocations: 127.4 kB / 0.6872 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.02e-07/0.6156, allocations: 0 / 0.6872 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002569/0.6159, allocations: 8.688 kB / 0.6872 GB, free: 13.31 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 0.0001036/0.616, allocations: 107.6 kB / 0.6873 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.687e-05/0.6161, allocations: 20.61 kB / 0.6873 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.018e-06/0.6161, allocations: 0 / 0.6873 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.6162, allocations: 8.953 kB / 0.6873 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.6163, allocations: 7.094 kB / 0.6873 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.6167, allocations: 195 kB / 0.6875 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.6168, allocations: 0.7001 MB / 0.6882 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.616e-05/0.6169, allocations: 10.73 kB / 0.6882 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.6169, allocations: 12.3 kB / 0.6882 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.37e-06/0.6169, allocations: 0 / 0.6882 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.003014/0.62, allocations: 444.9 kB / 0.6887 GB, free: 12.24 MB / 0.5261 GB