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.009205/0.009205, allocations: 108 kB / 15.06 MB, free: 5.559 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.001177/0.001177, allocations: 179.7 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 2.066/2.066, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.55/2.55, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004869, allocations: 19.98 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.5431, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0009296/0.5441, allocations: 0.5483 MB / 0.6839 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/0.5442, allocations: 49.59 kB / 0.6839 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.5443, allocations: 2.25 kB / 0.6839 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.5443, allocations: 10.23 kB / 0.6839 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/0.5444, allocations: 14.16 kB / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.793e-05/0.5445, allocations: 15.31 kB / 0.684 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.5446, allocations: 34.92 kB / 0.684 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.5447, allocations: 29.84 kB / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.5448, allocations: 19.66 kB / 0.684 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.5448, allocations: 28.61 kB / 0.6841 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.5448, allocations: 2.688 kB / 0.6841 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-06/0.5449, allocations: 2.312 kB / 0.6841 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.5449, allocations: 11.31 kB / 0.6841 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.5449, allocations: 34.17 kB / 0.6841 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.573e-05/0.545, allocations: 58.03 kB / 0.6842 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.46e-06/0.545, allocations: 0 / 0.6842 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.773e-06/0.5451, allocations: 1.125 kB / 0.6842 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.944e-06/0.5451, allocations: 0 / 0.6842 GB, free: 16.19 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.0003337/0.5454, allocations: 375.9 kB / 0.6845 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5455, allocations: 12.97 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.5455, allocations: 13.56 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.5457, allocations: 194.3 kB / 0.6847 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.5457, allocations: 6.75 kB / 0.6847 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.5458, allocations: 5.031 kB / 0.6848 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.5459, allocations: 98.47 kB / 0.6848 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.02e-06/0.546, allocations: 4 kB / 0.6849 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.546, allocations: 5.469 kB / 0.6849 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.896e-06/0.546, allocations: 2.062 kB / 0.6849 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.5461, allocations: 40.22 kB / 0.6849 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.5467, allocations: 441.7 kB / 0.6853 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/0.5468, allocations: 37.12 kB / 0.6854 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.5468, allocations: 5.812 kB / 0.6854 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.5468, allocations: 31.88 kB / 0.6854 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.563e-06/0.5468, allocations: 0 / 0.6854 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000207/0.5471, allocations: 67.52 kB / 0.6855 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.5471, allocations: 81.75 kB / 0.6855 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.5473, allocations: 166.3 kB / 0.6857 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-06/0.5473, allocations: 25.7 kB / 0.6857 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.5474, allocations: 109.7 kB / 0.6858 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.5474, allocations: 8.703 kB / 0.6858 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-06/0.5474, allocations: 1.188 kB / 0.6858 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.5475, allocations: 320.5 kB / 0.6861 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.5475, allocations: 7.328 kB / 0.6861 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.5475, allocations: 20.67 kB / 0.6862 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.432e-05/0.5476, allocations: 10.52 kB / 0.6862 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.393e-06/0.5476, allocations: 3.953 kB / 0.6862 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/0.5477, allocations: 62.75 kB / 0.6862 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5477, allocations: 5.781 kB / 0.6862 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.755e-06/0.5478, allocations: 0.6562 kB / 0.6862 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5478, allocations: 5.562 kB / 0.6862 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.5479, allocations: 5.891 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.004e-06/0.5479, allocations: 0.6562 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.5479, allocations: 10.84 kB / 0.6863 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-06/0.548, allocations: 1.031 kB / 0.6863 GB, free: 14.17 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.634e-05/0.548, allocations: 118.1 kB / 0.6864 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.5481, allocations: 12.84 kB / 0.6864 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.5481, allocations: 18.05 kB / 0.6864 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5482, allocations: 1.25 kB / 0.6864 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5482, allocations: 5.062 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-06/0.5482, allocations: 3.938 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.5486, allocations: 476.6 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-06/0.5486, allocations: 0 / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.5487, allocations: 3.578 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5487, allocations: 2 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.5487, allocations: 1.656 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.623e-06/0.5487, allocations: 4.062 kB / 0.6869 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.703e-06/0.5487, allocations: 5.922 kB / 0.6869 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.5488, allocations: 91.78 kB / 0.687 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.5489, allocations: 93.66 kB / 0.6871 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.5489, allocations: 2.297 kB / 0.6871 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.5489, allocations: 9.375 kB / 0.6871 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.549, allocations: 6.25 kB / 0.6871 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.549, allocations: 0 / 0.6871 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001051/0.5491, allocations: 127.8 kB / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.71e-07/0.5491, allocations: 1.094 kB / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002557/0.5494, allocations: 6.781 kB / 0.6872 GB, free: 13.22 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 0.0001004/0.5495, allocations: 103 kB / 0.6873 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.5496, allocations: 21.38 kB / 0.6873 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.903e-06/0.5496, allocations: 0 / 0.6873 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.5497, allocations: 14.22 kB / 0.6873 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.5498, allocations: 6.031 kB / 0.6873 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.5502, allocations: 197.8 kB / 0.6875 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.5503, allocations: 0.6976 MB / 0.6882 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.5504, allocations: 7.859 kB / 0.6882 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.5504, allocations: 12.25 kB / 0.6882 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of SimCode: time 1.329e-06/0.5504, allocations: 4 kB / 0.6882 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.003062/0.5535, allocations: 442.1 kB / 0.6887 GB, free: 12.15 MB / 0.5261 GB