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.006458/0.006464, allocations: 236.8 kB / 15.81 MB, free: 6.281 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.001762/0.001762, allocations: 183.1 kB / 16.69 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.04/4.04, allocations: 389.1 MB / 406.5 MB, free: 11.87 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 4.706/4.706, allocations: 472.3 MB / 0.9024 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006736/0.0006739, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1848, allocations: 98.73 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001134/0.186, allocations: 0.5379 MB / 1.105 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001305/0.1862, allocations: 43.77 kB / 1.105 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.1862, allocations: 4 kB / 1.105 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.1863, allocations: 3.938 kB / 1.105 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/0.1864, allocations: 5.031 kB / 1.105 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.805e-05/0.1864, allocations: 19.92 kB / 1.105 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1866, allocations: 61.09 kB / 1.105 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1867, allocations: 31.16 kB / 1.105 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.1868, allocations: 23.81 kB / 1.105 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.1868, allocations: 23.11 kB / 1.105 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1869, allocations: 4 kB / 1.105 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.1869, allocations: 0 / 1.105 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1869, allocations: 15.92 kB / 1.105 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.1869, allocations: 33.7 kB / 1.105 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.231e-05/0.187, allocations: 55.88 kB / 1.105 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1871, allocations: 3.984 kB / 1.105 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.295e-06/0.1871, allocations: 3.938 kB / 1.105 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.1871, allocations: 3.25 kB / 1.105 GB, free: 41.23 MB / 0.6042 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.0004146/0.1875, allocations: 367.2 kB / 1.106 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1876, allocations: 12.03 kB / 1.106 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1876, allocations: 11.86 kB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1878, allocations: 198.3 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1879, allocations: 4 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.1879, allocations: 15.5 kB / 1.106 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1881, allocations: 87.33 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1881, allocations: 0 / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1881, allocations: 4 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1881, allocations: 7.953 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1883, allocations: 35.98 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.1889, allocations: 455.1 kB / 1.107 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.1889, allocations: 35.97 kB / 1.107 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.189, allocations: 21.88 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.189, allocations: 3.984 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.189, allocations: 38.56 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.189, allocations: 0.5938 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000204/0.1893, allocations: 64.33 kB / 1.107 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.1893, allocations: 77.11 kB / 1.107 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1895, allocations: 171.1 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.1895, allocations: 25.7 kB / 1.107 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.1896, allocations: 107.9 kB / 1.107 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.1896, allocations: 11 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1896, allocations: 4 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.1897, allocations: 322.8 kB / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.1897, allocations: 11.92 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.1898, allocations: 18.7 kB / 1.107 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.1898, allocations: 8.75 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1898, allocations: 4 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.1899, allocations: 63.09 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.19, allocations: 8 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.19, allocations: 0 / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.19, allocations: 0.5 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1901, allocations: 7.25 kB / 1.108 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1901, allocations: 4 kB / 1.108 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.1902, allocations: 0 / 1.108 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1902, allocations: 0 / 1.108 GB, free: 38.85 MB / 0.6042 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 7.461e-05/0.1903, allocations: 121.7 kB / 1.108 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.1904, allocations: 19.8 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.1904, allocations: 8.562 kB / 1.108 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1904, allocations: 6.719 kB / 1.108 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1904, allocations: 0 / 1.108 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.1905, allocations: 89.94 kB / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1905, allocations: 0 / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1906, allocations: 3.953 kB / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.1907, allocations: 0 / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001192/0.1908, allocations: 207.4 kB / 1.108 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000125/0.1909, allocations: 290 kB / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.856e-05/0.191, allocations: 11.17 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001/0.1911, allocations: 127.2 kB / 1.108 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of Backend: time 8.02e-07/0.1911, allocations: 4 kB / 1.108 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.1916, allocations: 93.62 kB / 1.109 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005151/0.1921, allocations: 0.646 MB / 1.109 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.003529/0.1957, allocations: 0.5223 MB / 1.11 GB, free: 36.66 MB / 0.6042 GB