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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.186/4.186, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.298e-05, allocations: 3.688 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 98.74 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.4274, allocations: 123.5 MB / 0.7495 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4277, allocations: 71.95 kB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003855/0.4316, allocations: 1.142 MB / 0.7507 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4316, allocations: 0 / 0.7507 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.4317, allocations: 12 kB / 0.7507 GB, free: 12.21 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.0003965/0.4321, allocations: 362.2 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4321, allocations: 12.03 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.4322, allocations: 15.8 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.4324, allocations: 178.9 kB / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4324, allocations: 0 / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4324, allocations: 4 kB / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/0.4326, allocations: 32 kB / 0.7513 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4327, allocations: 93.05 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4328, allocations: 0 / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4328, allocations: 0 / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.4328, allocations: 7.953 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.4335, allocations: 413.2 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.522e-05/0.4336, allocations: 41.34 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.4336, allocations: 9.719 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4336, allocations: 16 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4337, allocations: 30.56 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.4337, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001803/0.4339, allocations: 49.55 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4339, allocations: 77.11 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.4341, allocations: 118.1 kB / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4341, allocations: 25.7 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.4342, allocations: 120 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.4342, allocations: 12.12 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.4342, allocations: 0 / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4343, allocations: 314.8 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.4344, allocations: 8 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.805e-05/0.4344, allocations: 25.7 kB / 0.7526 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.975e-05/0.4345, allocations: 11.95 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4345, allocations: 4 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.4346, allocations: 49.64 kB / 0.7527 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4347, allocations: 4 kB / 0.7527 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4347, allocations: 4 kB / 0.7527 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4347, allocations: 3.984 kB / 0.7527 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.4348, allocations: 4 kB / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.4348, allocations: 0 / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.4349, allocations: 11.84 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.4349, allocations: 0 / 0.7527 GB, free: 9.961 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 6.855e-05/0.435, allocations: 109 kB / 0.7528 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001175/0.4351, allocations: 53.55 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.4352, allocations: 7.984 kB / 0.7529 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.4352, allocations: 11.97 kB / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4352, allocations: 0 / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4352, allocations: 0 / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4353, allocations: 0 / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.4357, allocations: 463.3 kB / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4358, allocations: 0 / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.4358, allocations: 4 kB / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4358, allocations: 0 / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.4358, allocations: 0 / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4358, allocations: 0 / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4358, allocations: 0 / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.436, allocations: 96.34 kB / 0.7534 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.436, allocations: 89.02 kB / 0.7535 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.4361, allocations: 3.984 kB / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.4361, allocations: 0 / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.4362, allocations: 7.953 kB / 0.7535 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4362, allocations: 3.938 kB / 0.7535 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.49e-05/0.4363, allocations: 104.7 kB / 0.7536 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4363, allocations: 4.031 kB / 0.7536 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002682/0.4365, allocations: 11.91 kB / 0.7536 GB, free: 8.902 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.0004113/0.437, allocations: 0.6953 MB / 0.7543 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.4371, allocations: 15.98 kB / 0.7543 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4371, allocations: 0 / 0.7543 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.4371, allocations: 12 kB / 0.7543 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.4373, allocations: 4.641 kB / 0.7543 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.4377, allocations: 142.6 kB / 0.7545 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.438, allocations: 0.7082 MB / 0.7552 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.4381, allocations: 4.188 kB / 0.7552 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.4381, allocations: 19.42 kB / 0.7552 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.4382, allocations: 4 kB / 0.7552 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.4736, allocations: 0.97 MB / 0.7561 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/0.4739, allocations: 160.3 kB / 0.7563 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.803, allocations: 3.938 kB / 0.7563 GB, free: 6.035 MB / 0.6355 GB