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_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01038/0.01038, allocations: 223 kB / 15.17 MB, free: 5.93 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.001078/0.001078, allocations: 181.8 kB / 16.06 MB, free: 5.828 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 3.503/3.503, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.46/4.46, allocations: 472.3 MB / 0.9018 GB, free: 87.64 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 16.52 kB / 1.008 GB, free: 37.38 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1606, allocations: 98.72 MB / 1.104 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001087/0.1617, allocations: 0.55 MB / 1.105 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.1619, allocations: 45.16 kB / 1.105 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.1619, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.162, allocations: 7.922 kB / 1.105 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.1621, allocations: 4.562 kB / 1.105 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.869e-05/0.1621, allocations: 15.98 kB / 1.105 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1622, allocations: 65.09 kB / 1.105 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1624, allocations: 36.56 kB / 1.105 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.1625, allocations: 19.8 kB / 1.105 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.1625, allocations: 23.86 kB / 1.105 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1626, allocations: 0 / 1.105 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.1626, allocations: 9.094 kB / 1.105 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1626, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.1626, allocations: 37.64 kB / 1.105 GB, free: 11 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.1627, allocations: 57.08 kB / 1.105 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.636e-06/0.1628, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.976e-06/0.1628, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.197e-06/0.1628, allocations: 0.875 kB / 1.105 GB, free: 10.94 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.0004617/0.1633, allocations: 376.3 kB / 1.105 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1633, allocations: 8.031 kB / 1.105 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1634, allocations: 12.62 kB / 1.105 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1636, allocations: 194.8 kB / 1.105 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1637, allocations: 9.469 kB / 1.105 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1637, allocations: 4 kB / 1.105 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1639, allocations: 100.2 kB / 1.106 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.658e-06/0.1639, allocations: 4 kB / 1.106 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1639, allocations: 5.906 kB / 1.106 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.1639, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1641, allocations: 35.98 kB / 1.106 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.1648, allocations: 449.7 kB / 1.106 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.886e-05/0.1649, allocations: 37.22 kB / 1.106 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.1649, allocations: 17.78 kB / 1.106 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.944e-06/0.1649, allocations: 3.938 kB / 1.106 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.165, allocations: 38.59 kB / 1.106 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.977e-06/0.165, allocations: 0 / 1.106 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000223/0.1652, allocations: 69.42 kB / 1.106 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1653, allocations: 77.11 kB / 1.106 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1655, allocations: 166.9 kB / 1.106 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1655, allocations: 25.7 kB / 1.106 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1656, allocations: 108 kB / 1.107 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1657, allocations: 11.84 kB / 1.107 GB, free: 9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-06/0.1657, allocations: 4.25 kB / 1.107 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1658, allocations: 318.8 kB / 1.107 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.1659, allocations: 8 kB / 1.107 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.1659, allocations: 25.7 kB / 1.107 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.166, allocations: 7.953 kB / 1.107 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-06/0.166, allocations: 0 / 1.107 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.1661, allocations: 61.61 kB / 1.107 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1662, allocations: 19.67 kB / 1.107 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.369e-06/0.1662, allocations: 0 / 1.107 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1662, allocations: 0 / 1.107 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.1663, allocations: 8 kB / 1.107 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.838e-06/0.1663, allocations: 0 / 1.107 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.1664, allocations: 7.906 kB / 1.107 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1664, allocations: 8 kB / 1.107 GB, free: 8.523 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 0.0001092/0.1665, allocations: 113.8 kB / 1.107 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.1666, allocations: 15.84 kB / 1.107 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.1666, allocations: 16.55 kB / 1.107 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-06/0.1666, allocations: 0 / 1.107 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1667, allocations: 0 / 1.107 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-06/0.1667, allocations: 0 / 1.107 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.1672, allocations: 482.8 kB / 1.108 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-06/0.1673, allocations: 0 / 1.108 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.1673, allocations: 7.984 kB / 1.108 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1673, allocations: 4.062 kB / 1.108 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-06/0.1673, allocations: 0 / 1.108 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.797e-06/0.1674, allocations: 4 kB / 1.108 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1674, allocations: 3.938 kB / 1.108 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1675, allocations: 77.86 kB / 1.108 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.1676, allocations: 92.91 kB / 1.108 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1676, allocations: 0 / 1.108 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.1677, allocations: 8.031 kB / 1.108 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.1677, allocations: 3.938 kB / 1.108 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.1677, allocations: 0 / 1.108 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001378/0.1679, allocations: 131.9 kB / 1.108 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.89e-07/0.1679, allocations: 0 / 1.108 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002602/0.1681, allocations: 8 kB / 1.108 GB, free: 7.461 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.0001357/0.1683, allocations: 103.2 kB / 1.108 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.1684, allocations: 16 kB / 1.108 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.412e-06/0.1684, allocations: 0 / 1.108 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.1685, allocations: 15.94 kB / 1.108 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1687, allocations: 7.953 kB / 1.108 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.1691, allocations: 197.5 kB / 1.108 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1695, allocations: 0.7004 MB / 1.109 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.1695, allocations: 8.422 kB / 1.109 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1696, allocations: 7.438 kB / 1.109 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of SimCode: time 1.415e-06/0.1696, allocations: 8 kB / 1.109 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.003096/0.1727, allocations: 447.9 kB / 1.109 GB, free: 5.902 MB / 0.5261 GB