Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009722/0.009726, allocations: 90.97 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001154/0.001154, allocations: 173.7 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.083/2.083, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.283/2.283, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.000495, allocations: 14.86 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2127, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001248/0.214, allocations: 0.5648 MB / 0.7286 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001437/0.2141, allocations: 39.78 kB / 0.7287 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.2142, allocations: 4 kB / 0.7287 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.2142, allocations: 3.938 kB / 0.7287 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2143, allocations: 11.92 kB / 0.7287 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 5.549e-05/0.2144, allocations: 15.98 kB / 0.7287 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.2145, allocations: 39.89 kB / 0.7287 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.2147, allocations: 41.55 kB / 0.7288 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.2148, allocations: 23.86 kB / 0.7288 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.2148, allocations: 19.86 kB / 0.7288 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2149, allocations: 0 / 0.7288 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.838e-05/0.2149, allocations: 4 kB / 0.7288 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2149, allocations: 7.938 kB / 0.7288 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.215, allocations: 37.64 kB / 0.7289 GB, free: 9.348 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2151, allocations: 59.86 kB / 0.7289 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2151, allocations: 0 / 0.7289 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2151, allocations: 0 / 0.7289 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.247e-06/0.2151, allocations: 0 / 0.7289 GB, free: 9.289 MB / 0.5573 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.000492/0.2156, allocations: 375.3 kB / 0.7293 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.2157, allocations: 8.031 kB / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.2157, allocations: 38.56 kB / 0.7293 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.2158, allocations: 15.81 kB / 0.7293 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.216, allocations: 201.3 kB / 0.7295 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2161, allocations: 7.938 kB / 0.7295 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.2161, allocations: 8 kB / 0.7295 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.2163, allocations: 91.3 kB / 0.7296 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2163, allocations: 0 / 0.7296 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2164, allocations: 4 kB / 0.7296 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2164, allocations: 0 / 0.7296 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.2165, allocations: 47.86 kB / 0.7297 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.2172, allocations: 444.5 kB / 0.7301 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.2173, allocations: 45.41 kB / 0.7301 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.2174, allocations: 4 kB / 0.7301 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2174, allocations: 34.55 kB / 0.7302 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.2174, allocations: 0 / 0.7302 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002229/0.2176, allocations: 57.45 kB / 0.7302 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2177, allocations: 81.11 kB / 0.7303 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.2179, allocations: 172.3 kB / 0.7305 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.2179, allocations: 29.7 kB / 0.7305 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.218, allocations: 100 kB / 0.7306 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.2181, allocations: 15.83 kB / 0.7306 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.2181, allocations: 0 / 0.7306 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2182, allocations: 314.8 kB / 0.7309 GB, free: 7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.2182, allocations: 11.98 kB / 0.7309 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.2183, allocations: 25.66 kB / 0.731 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.2183, allocations: 11.95 kB / 0.731 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2184, allocations: 0 / 0.731 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.2185, allocations: 61.59 kB / 0.731 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2185, allocations: 4 kB / 0.731 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2186, allocations: 3.938 kB / 0.731 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2186, allocations: 0 / 0.731 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2187, allocations: 8 kB / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2187, allocations: 0 / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.2188, allocations: 3.906 kB / 0.731 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.2188, allocations: 8.062 kB / 0.731 GB, free: 6.852 MB / 0.5573 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.0001167/0.2189, allocations: 117.8 kB / 0.7312 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.219, allocations: 7.906 kB / 0.7312 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.219, allocations: 20.5 kB / 0.7312 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2191, allocations: 7.938 kB / 0.7312 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2191, allocations: 0 / 0.7312 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2191, allocations: 0 / 0.7312 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.2197, allocations: 490.8 kB / 0.7317 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2197, allocations: 0 / 0.7317 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.2197, allocations: 4 kB / 0.7317 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2198, allocations: 0 / 0.7317 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2198, allocations: 0 / 0.7317 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.2198, allocations: 4 kB / 0.7317 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2198, allocations: 0 / 0.7317 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.2199, allocations: 99.56 kB / 0.7318 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.22, allocations: 92.86 kB / 0.7319 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.22, allocations: 0 / 0.7319 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.2201, allocations: 4.094 kB / 0.7319 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.2201, allocations: 7.969 kB / 0.7319 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2201, allocations: 0 / 0.7319 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001348/0.2203, allocations: 128 kB / 0.732 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2203, allocations: 4.031 kB / 0.732 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002504/0.2205, allocations: 15.89 kB / 0.732 GB, free: 5.754 MB / 0.5573 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.000432/0.221, allocations: 0.6954 MB / 0.7327 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.2211, allocations: 20 kB / 0.7327 GB, free: 5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2211, allocations: 0 / 0.7327 GB, free: 5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.2212, allocations: 7.938 kB / 0.7327 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.2213, allocations: 11.95 kB / 0.7327 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2226, allocations: 0.7333 MB / 0.7334 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.2229, allocations: 0.7043 MB / 0.7341 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.953e-05/0.2229, allocations: 4.438 kB / 0.7341 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.223, allocations: 27.42 kB / 0.7342 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/0.223, allocations: 0 / 0.7342 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.2478, allocations: 1.575 MB / 0.7357 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/0.2481, allocations: 191.5 kB / 0.7359 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.416, allocations: 0 / 0.7359 GB, free: 1.73 MB / 0.5573 GB