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.006227/0.006226, allocations: 240 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.00117/0.00117, allocations: 179.9 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.2/4.2, allocations: 389.1 MB / 406.5 MB, free: 11.83 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.303/4.303, allocations: 472.3 MB / 0.9024 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006531/0.0006532, allocations: 14.59 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2273, allocations: 98.73 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001351/0.2287, allocations: 0.5379 MB / 1.105 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001587/0.2289, allocations: 43.78 kB / 1.105 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.229, allocations: 0 / 1.105 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.2291, allocations: 3.938 kB / 1.105 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2292, allocations: 7.922 kB / 1.105 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.447e-05/0.2293, allocations: 12 kB / 1.105 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.2294, allocations: 67.16 kB / 1.105 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2296, allocations: 33.56 kB / 1.105 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.2297, allocations: 27.78 kB / 1.105 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.2297, allocations: 31.2 kB / 1.105 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2298, allocations: 0 / 1.105 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.2298, allocations: 4 kB / 1.105 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2298, allocations: 3.938 kB / 1.105 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2299, allocations: 33.7 kB / 1.105 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.23, allocations: 55.88 kB / 1.105 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.23, allocations: 0 / 1.105 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.276e-06/0.23, allocations: 0 / 1.105 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.23, allocations: 3.938 kB / 1.105 GB, free: 41.25 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.0004709/0.2305, allocations: 374.7 kB / 1.106 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.2306, allocations: 8.031 kB / 1.106 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.2307, allocations: 15.84 kB / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.2309, allocations: 198.8 kB / 1.106 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.231, allocations: 4 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.231, allocations: 8 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2312, allocations: 102.1 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2313, allocations: 0 / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.2313, allocations: 4 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2313, allocations: 7.891 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2315, allocations: 35.98 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.2322, allocations: 451.7 kB / 1.107 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.392e-05/0.2323, allocations: 37.91 kB / 1.107 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.2324, allocations: 18.44 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2324, allocations: 3.062 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2324, allocations: 34.56 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.2325, allocations: 0 / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002649/0.2327, allocations: 61.53 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2328, allocations: 80.17 kB / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.233, allocations: 167.1 kB / 1.107 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2331, allocations: 25.7 kB / 1.107 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.2331, allocations: 107.9 kB / 1.107 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.2332, allocations: 15.83 kB / 1.107 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.2332, allocations: 4 kB / 1.107 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.2333, allocations: 325 kB / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.2333, allocations: 7.938 kB / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.2334, allocations: 23.03 kB / 1.107 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.2334, allocations: 14.7 kB / 1.107 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2335, allocations: 0 / 1.107 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001635/0.2336, allocations: 61.55 kB / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2337, allocations: 4 kB / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2337, allocations: 0 / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2337, allocations: 0 / 1.108 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2338, allocations: 14.61 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2339, allocations: 0 / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.234, allocations: 4 kB / 1.108 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.234, 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 9.142e-05/0.2341, allocations: 121.7 kB / 1.108 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.2342, allocations: 11.81 kB / 1.108 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.2342, allocations: 15.53 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2343, allocations: 3.984 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2343, allocations: 0 / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.2343, allocations: 85.02 kB / 1.108 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2344, allocations: 0 / 1.108 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.2346, allocations: 3.953 kB / 1.108 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.2346, allocations: 9.156 kB / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001402/0.2348, allocations: 198.6 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000168/0.235, allocations: 300.7 kB / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.396e-05/0.235, allocations: 0 / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001393/0.2352, allocations: 135.6 kB / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of Backend: time 7.81e-07/0.2352, allocations: 0 / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008093/0.236, allocations: 100.4 kB / 1.109 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005972/0.2366, allocations: 0.6384 MB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.004233/0.2409, allocations: 0.5247 MB / 1.11 GB, free: 36.66 MB / 0.6042 GB