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.007212/0.007215, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001179/0.001179, allocations: 174 kB / 16.7 MB, free: 5.449 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 4.022/4.022, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.969/3.969, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005377, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1756, allocations: 98.73 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7594/0.9351, allocations: 124.3 MB / 1.226 GB, free: 28.69 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.9354, allocations: 72.5 kB / 1.226 GB, free: 28.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003897/0.9393, allocations: 1.15 MB / 1.227 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9393, allocations: 0 / 1.227 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.9393, allocations: 4 kB / 1.227 GB, free: 27.94 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.0003649/0.9397, allocations: 372.8 kB / 1.228 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9398, allocations: 8.031 kB / 1.228 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.9398, allocations: 11.81 kB / 1.228 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.94, allocations: 189.2 kB / 1.228 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.94, allocations: 7.547 kB / 1.228 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.94, allocations: 7.5 kB / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.9403, allocations: 92.8 kB / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.9403, allocations: 0 / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.9403, allocations: 7.375 kB / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.9403, allocations: 0.6562 kB / 1.228 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.9405, allocations: 44.38 kB / 1.228 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.9412, allocations: 459.9 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.9413, allocations: 40.83 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.9413, allocations: 12.78 kB / 1.228 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.9413, allocations: 7.641 kB / 1.228 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.9414, allocations: 37.77 kB / 1.228 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.9414, allocations: 0 / 1.228 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.9416, allocations: 58.77 kB / 1.229 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.9416, allocations: 84.48 kB / 1.229 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.9418, allocations: 172.8 kB / 1.229 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.9419, allocations: 25.7 kB / 1.229 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.942, allocations: 108.9 kB / 1.229 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.942, allocations: 12.3 kB / 1.229 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.942, allocations: 0 / 1.229 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9421, allocations: 324.8 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.9422, allocations: 8.312 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.9422, allocations: 18.88 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.9423, allocations: 10.31 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9423, allocations: 1.172 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001236/0.9424, allocations: 65.7 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.9424, allocations: 8.625 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.9425, allocations: 3.281 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.9425, allocations: 0 / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.9426, allocations: 5.688 kB / 1.229 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.9426, allocations: 4 kB / 1.229 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.9427, allocations: 6.062 kB / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.9427, allocations: 4 kB / 1.229 GB, free: 25.8 MB / 0.6198 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.0001039/0.9428, allocations: 122.2 kB / 1.229 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.9429, allocations: 11.03 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.9429, allocations: 6.016 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.9429, allocations: 4.516 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9429, allocations: 0 / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.943, allocations: 1.266 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.944, allocations: 483.6 kB / 1.23 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.944, allocations: 0 / 1.23 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.9441, allocations: 8.547 kB / 1.23 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.9441, allocations: 1.406 kB / 1.23 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.9441, allocations: 0 / 1.23 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.9441, allocations: 1.969 kB / 1.23 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9441, allocations: 4.516 kB / 1.23 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.9443, allocations: 82.89 kB / 1.23 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.9443, allocations: 95.19 kB / 1.23 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.9444, allocations: 0 / 1.23 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.9444, allocations: 2.438 kB / 1.23 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.9445, allocations: 7.078 kB / 1.23 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.9445, allocations: 0 / 1.23 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00013/0.9446, allocations: 133.6 kB / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.192e-06/0.9446, allocations: 0 / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000246/0.9449, allocations: 21.78 kB / 1.23 GB, free: 40.85 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.0001264/0.945, allocations: 96.23 kB / 1.23 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.9451, allocations: 16.64 kB / 1.23 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9451, allocations: 0 / 1.23 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.379e-05/0.9452, allocations: 19.91 kB / 1.23 GB, free: 40.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.9454, allocations: 6.891 kB / 1.23 GB, free: 40.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.9458, allocations: 194.7 kB / 1.231 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.9461, allocations: 0.7018 MB / 1.231 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.438e-05/0.9462, allocations: 8.828 kB / 1.231 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.9462, allocations: 11.44 kB / 1.231 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/0.9462, allocations: 0 / 1.231 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.003283/0.9495, allocations: 451.4 kB / 1.232 GB, free: 39.58 MB / 0.6355 GB