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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.994/3.994, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.718e-05/4.735e-05, allocations: 4.156 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2916, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.5253, allocations: 124.2 MB / 0.756 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.5256, allocations: 63.95 kB / 0.7561 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004137/0.5298, allocations: 1.157 MB / 0.7572 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5298, allocations: 0 / 0.7572 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.5298, allocations: 0 / 0.7572 GB, free: 4.297 MB / 0.6355 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.0004482/0.5303, allocations: 362.3 kB / 0.7576 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5304, allocations: 8.031 kB / 0.7576 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.5304, allocations: 42.56 kB / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.5305, allocations: 11.86 kB / 0.7576 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.5307, allocations: 190.7 kB / 0.7578 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5308, allocations: 8 kB / 0.7578 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.5308, allocations: 8 kB / 0.7578 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.531, allocations: 89.91 kB / 0.7579 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.531, allocations: 0 / 0.7579 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5311, allocations: 0 / 0.7579 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5311, allocations: 4 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.5312, allocations: 39.92 kB / 0.7579 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.5321, allocations: 468.6 kB / 0.7584 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/0.5322, allocations: 41.22 kB / 0.7584 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.5322, allocations: 15.59 kB / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.5322, allocations: 0 / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5323, allocations: 34.5 kB / 0.7585 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.165e-06/0.5323, allocations: 0 / 0.7585 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002058/0.5325, allocations: 49.59 kB / 0.7585 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.5326, allocations: 93.11 kB / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.5328, allocations: 149.3 kB / 0.7588 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.5329, allocations: 29.7 kB / 0.7588 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.533, allocations: 108.2 kB / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.533, allocations: 11.84 kB / 0.7589 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.533, allocations: 0 / 0.7589 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5332, allocations: 326.8 kB / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.5332, allocations: 4 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.5333, allocations: 21.72 kB / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.5333, allocations: 15.98 kB / 0.7592 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5333, allocations: 0 / 0.7592 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.5335, allocations: 61.55 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.5335, allocations: 4 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5335, allocations: 0 / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5335, allocations: 4 kB / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5337, allocations: 8.062 kB / 0.7593 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5337, allocations: 3.984 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.5338, allocations: 7.938 kB / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5338, allocations: 0 / 0.7593 GB, free: 1.867 MB / 0.6355 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 () * 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.572e-05/0.5339, allocations: 104.9 kB / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.5339, allocations: 19.81 kB / 0.7595 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.534, allocations: 4.562 kB / 0.7595 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.534, allocations: 4 kB / 0.7595 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.534, allocations: 0 / 0.7595 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.534, allocations: 4 kB / 0.7595 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.5346, allocations: 482.8 kB / 0.7599 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5346, allocations: 4 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.5347, allocations: 4 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5347, allocations: 0 / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.5347, allocations: 3.984 kB / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.5347, allocations: 3.938 kB / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5347, allocations: 64 / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.5349, allocations: 95.58 kB / 0.76 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.535, allocations: 93.08 kB / 0.7601 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.535, allocations: 0 / 0.7601 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.5351, allocations: 0 / 0.7601 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.5351, allocations: 8.031 kB / 0.7601 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5351, allocations: 7.953 kB / 0.7601 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001444/0.5353, allocations: 123.5 kB / 0.7603 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.555e-06/0.5353, allocations: 0 / 0.7603 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002406/0.5356, allocations: 19.94 kB / 0.7603 GB, free: 0.7891 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 () * 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.0005133/0.5361, allocations: 0.6992 MB / 0.761 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.5362, allocations: 23.88 kB / 0.761 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5362, allocations: 0 / 0.761 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.5363, allocations: 4 kB / 0.761 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.5364, allocations: 11.95 kB / 0.761 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.5369, allocations: 147.9 kB / 0.7611 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5373, allocations: 0.7004 MB / 0.7618 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.395e-05/0.5374, allocations: 8.422 kB / 0.7618 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.5374, allocations: 27.42 kB / 0.7619 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.5374, allocations: 0 / 0.7619 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.5619, allocations: 1.554 MB / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.5622, allocations: 158.9 kB / 0.7635 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.685, allocations: 0 / 0.7635 GB, free: 13.37 MB / 0.6511 GB