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_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009537/0.00954, allocations: 110.3 kB / 15.05 MB, free: 6.031 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.001153/0.001152, allocations: 188.6 kB / 15.95 MB, free: 5.965 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.049/2.049, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.226/2.226, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004581, allocations: 12 kB / 0.5869 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.557, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.7391, allocations: 124.3 MB / 0.8047 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.7393, allocations: 71.89 kB / 0.8048 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003826/0.7432, allocations: 1.158 MB / 0.8059 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.861e-06/0.7432, allocations: 0 / 0.8059 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.7433, allocations: 4 kB / 0.8059 GB, free: 0.7461 MB / 0.6198 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.0004257/0.7437, allocations: 367 kB / 0.8063 GB, free: 348 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.7437, allocations: 12.03 kB / 0.8063 GB, free: 336 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.7438, allocations: 15.77 kB / 0.8063 GB, free: 320 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.744, allocations: 185 kB / 0.8065 GB, free: 96 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.744, allocations: 8 kB / 0.8065 GB, free: 88 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.744, allocations: 8 kB / 0.8065 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.7443, allocations: 92.7 kB / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.623e-06/0.7443, allocations: 0 / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7443, allocations: 4 kB / 0.8066 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.7443, allocations: 4 kB / 0.8066 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.7444, allocations: 39.92 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/0.7452, allocations: 456.5 kB / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.7453, allocations: 45.28 kB / 0.8071 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.7453, allocations: 3.938 kB / 0.8071 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.7454, allocations: 34.91 kB / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.404e-06/0.7454, allocations: 0 / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.7456, allocations: 69.38 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.7457, allocations: 77.11 kB / 0.8073 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.7459, allocations: 157.1 kB / 0.8074 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.7459, allocations: 25.7 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.746, allocations: 104 kB / 0.8076 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.746, allocations: 11.84 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-06/0.746, allocations: 0 / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7462, allocations: 318.8 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.7462, allocations: 11.94 kB / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.7463, allocations: 25.7 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.7464, allocations: 15.95 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-06/0.7464, allocations: 0 / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.7465, allocations: 57.61 kB / 0.808 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.7466, allocations: 11.92 kB / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.938e-06/0.7466, allocations: 0 / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7466, allocations: 4 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.7467, allocations: 4.094 kB / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.739e-06/0.7467, allocations: 0 / 0.808 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.7468, allocations: 11.97 kB / 0.808 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.7468, allocations: 3.984 kB / 0.808 GB, free: 14.36 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 () * 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.0001132/0.7469, allocations: 117.8 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.747, allocations: 7.906 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.747, allocations: 16.55 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-06/0.7471, allocations: 0 / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.603e-06/0.7471, allocations: 4 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7471, allocations: 0 / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.7477, allocations: 478.8 kB / 0.8086 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.7477, allocations: 4 kB / 0.8086 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.7477, allocations: 4 kB / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.7477, allocations: 4 kB / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-06/0.7478, allocations: 0 / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.307e-06/0.7478, allocations: 0 / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-06/0.7478, allocations: 0 / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.7479, allocations: 105.9 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.748, allocations: 88.92 kB / 0.8088 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7481, allocations: 3.938 kB / 0.8088 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.7481, allocations: 4 kB / 0.8088 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.7481, allocations: 3.984 kB / 0.8088 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-06/0.7481, allocations: 4 kB / 0.8088 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000142/0.7483, allocations: 134.5 kB / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.25e-07/0.7483, allocations: 0 / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002701/0.7486, allocations: 15.89 kB / 0.809 GB, free: 13.27 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 () * 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.0001292/0.7487, allocations: 99.25 kB / 0.8091 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.7488, allocations: 23.94 kB / 0.8091 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.15e-06/0.7489, allocations: 0 / 0.8091 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.7489, allocations: 7.984 kB / 0.8091 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.749, allocations: 12.94 kB / 0.8091 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.7495, allocations: 195.5 kB / 0.8093 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.7499, allocations: 0.7043 MB / 0.81 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.7499, allocations: 4.438 kB / 0.81 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.75, allocations: 11.44 kB / 0.81 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.381e-06/0.75, allocations: 0 / 0.81 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.003136/0.7531, allocations: 447.8 kB / 0.8104 GB, free: 11.72 MB / 0.6355 GB