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.00952/0.009524, allocations: 108.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.001645/0.001644, allocations: 185.8 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.854/1.854, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.326/2.326, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5785, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0009706/0.5795, allocations: 0.5499 MB / 0.6839 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.5797, allocations: 51.2 kB / 0.6839 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.5797, allocations: 1.312 kB / 0.6839 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.5798, allocations: 5.391 kB / 0.6839 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.5799, allocations: 6.625 kB / 0.6839 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.496e-05/0.5799, allocations: 13.45 kB / 0.684 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.58, allocations: 39.7 kB / 0.684 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.5802, allocations: 33.69 kB / 0.684 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.5802, allocations: 20.48 kB / 0.684 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.5803, allocations: 30.86 kB / 0.6841 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.5803, allocations: 1.312 kB / 0.6841 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-06/0.5803, allocations: 1.844 kB / 0.6841 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.5804, allocations: 7.547 kB / 0.6841 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.5804, allocations: 41.52 kB / 0.6841 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.576e-05/0.5805, allocations: 54.44 kB / 0.6842 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.678e-06/0.5805, allocations: 0 / 0.6842 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.383e-06/0.5805, allocations: 0 / 0.6842 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.821e-06/0.5806, allocations: 0 / 0.6842 GB, free: 16.23 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.0003307/0.5809, allocations: 372.9 kB / 0.6845 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5809, allocations: 10.66 kB / 0.6845 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.581, allocations: 15.47 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.5812, allocations: 199.4 kB / 0.6847 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5812, allocations: 7.781 kB / 0.6847 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.5812, allocations: 8.812 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.5814, allocations: 98.11 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.725e-06/0.5814, allocations: 0 / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5815, allocations: 5.547 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-06/0.5815, allocations: 0.8438 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.5816, allocations: 41.22 kB / 0.6849 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.5822, allocations: 445.9 kB / 0.6853 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.5822, allocations: 41.62 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.5823, allocations: 1.375 kB / 0.6854 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.5823, allocations: 36.42 kB / 0.6854 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.003e-06/0.5823, allocations: 0 / 0.6854 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001961/0.5825, allocations: 62 kB / 0.6855 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.5825, allocations: 82.36 kB / 0.6855 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.5827, allocations: 167.4 kB / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.799e-06/0.5827, allocations: 26.92 kB / 0.6857 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.5828, allocations: 108.4 kB / 0.6858 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.5828, allocations: 6.672 kB / 0.6858 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-06/0.5828, allocations: 0 / 0.6858 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.5829, allocations: 320.1 kB / 0.6861 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.5829, allocations: 8.938 kB / 0.6861 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.583, allocations: 19.77 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.583, allocations: 5.391 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.583, allocations: 3.953 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001199/0.5832, allocations: 67.62 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5832, allocations: 4.688 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.544e-06/0.5832, allocations: 1.031 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5832, allocations: 1.219 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.5833, allocations: 6.922 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.72e-06/0.5833, allocations: 1.312 kB / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.5834, allocations: 9.406 kB / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-06/0.5834, allocations: 1.469 kB / 0.6863 GB, free: 14.21 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.781e-05/0.5835, allocations: 122.3 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.5835, allocations: 17.11 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.5836, allocations: 9.188 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.5836, allocations: 2.234 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.258e-06/0.5836, allocations: 5.312 kB / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-06/0.5836, allocations: 0 / 0.6864 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.584, allocations: 483.3 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-06/0.5841, allocations: 5.688 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.5841, allocations: 3.516 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-06/0.5841, allocations: 1.062 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.5841, allocations: 5.344 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.233e-06/0.5842, allocations: 0.7969 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5842, allocations: 1.469 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.5843, allocations: 100.2 kB / 0.687 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.5843, allocations: 90.12 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.5844, allocations: 2.141 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.5844, allocations: 3.938 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.5844, allocations: 2.125 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-06/0.5845, allocations: 1.125 kB / 0.6871 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001001/0.5846, allocations: 126.2 kB / 0.6872 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/0.5846, allocations: 1.375 kB / 0.6872 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002558/0.5848, allocations: 7.469 kB / 0.6872 GB, free: 13.26 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.658e-05/0.5849, allocations: 107 kB / 0.6873 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.965e-05/0.5851, allocations: 20.67 kB / 0.6873 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5851, allocations: 5.375 kB / 0.6873 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.5851, allocations: 3.969 kB / 0.6873 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.5852, allocations: 7.547 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.000364/0.5856, allocations: 201.2 kB / 0.6875 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.5858, allocations: 0.703 MB / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.253e-05/0.5858, allocations: 6.906 kB / 0.6882 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.5859, allocations: 11 kB / 0.6882 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of SimCode: time 1.349e-06/0.5859, allocations: 1.281 kB / 0.6882 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of Templates: time 0.003031/0.5889, allocations: 444.9 kB / 0.6887 GB, free: 12.18 MB / 0.5261 GB