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 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.To_ton,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.997/3.997, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.564e-05, allocations: 5.375 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.4223, allocations: 124.2 MB / 0.756 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4226, allocations: 67.95 kB / 0.7561 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003983/0.4266, allocations: 1.157 MB / 0.7572 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4267, allocations: 0 / 0.7572 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.4267, allocations: 4 kB / 0.7572 GB, free: 4.289 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.0004046/0.4271, allocations: 358.3 kB / 0.7576 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.4272, allocations: 16.02 kB / 0.7576 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.4272, allocations: 34.56 kB / 0.7576 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.4273, allocations: 15.86 kB / 0.7576 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.4275, allocations: 186.8 kB / 0.7578 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4275, allocations: 4 kB / 0.7578 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.4275, allocations: 8 kB / 0.7578 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.4277, allocations: 94.05 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4278, allocations: 4 kB / 0.7579 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4278, allocations: 4 kB / 0.7579 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4278, allocations: 0 / 0.7579 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.4279, allocations: 43.94 kB / 0.7579 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.4287, allocations: 460.6 kB / 0.7584 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.4288, allocations: 41.09 kB / 0.7584 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.4288, allocations: 15.66 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.4288, allocations: 0 / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4289, allocations: 42.5 kB / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.4289, allocations: 0 / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001953/0.4291, allocations: 45.61 kB / 0.7585 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4292, allocations: 77.11 kB / 0.7586 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4294, allocations: 157.3 kB / 0.7587 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4294, allocations: 29.64 kB / 0.7588 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.4295, allocations: 108.2 kB / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.4295, allocations: 15.91 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.4295, allocations: 4 kB / 0.7589 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4297, allocations: 322.8 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.4297, allocations: 4 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.4298, allocations: 21.72 kB / 0.7592 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.4298, allocations: 11.94 kB / 0.7592 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4298, allocations: 0 / 0.7592 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.43, allocations: 69.53 kB / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.43, allocations: 8 kB / 0.7593 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.43, allocations: 0 / 0.7593 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.43, allocations: 0 / 0.7593 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.4301, allocations: 4 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4302, allocations: 4 kB / 0.7593 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.4302, allocations: 3.938 kB / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4302, allocations: 4 kB / 0.7593 GB, free: 1.863 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.096e-05/0.4303, allocations: 111.2 kB / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.4304, allocations: 15.8 kB / 0.7595 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.4304, allocations: 12.56 kB / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4304, allocations: 0 / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4305, allocations: 0 / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4305, allocations: 4 kB / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.431, allocations: 478.8 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.431, allocations: 4.062 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.431, allocations: 4 kB / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4311, allocations: 0 / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4311, allocations: 4 kB / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.4311, allocations: 0 / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4311, allocations: 3.938 kB / 0.7599 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.4312, allocations: 99.56 kB / 0.76 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.4313, allocations: 85 kB / 0.7601 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.4314, allocations: 4 kB / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.4314, allocations: 0 / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.4314, allocations: 0 / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.4314, allocations: 3.953 kB / 0.7601 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001363/0.4316, allocations: 131.5 kB / 0.7602 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.515e-06/0.4316, allocations: 0 / 0.7602 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002343/0.4318, allocations: 15.94 kB / 0.7603 GB, free: 0.793 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.0004412/0.4323, allocations: 0.7032 MB / 0.7609 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.4324, allocations: 16 kB / 0.761 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4324, allocations: 8.094 kB / 0.761 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-05/0.4325, 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.0001534/0.4326, allocations: 15.89 kB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.4331, allocations: 143.7 kB / 0.7611 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4334, allocations: 0.7006 MB / 0.7618 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.4335, allocations: 16.34 kB / 0.7618 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.4335, allocations: 23.44 kB / 0.7618 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of SimCode: time 8.01e-07/0.4335, allocations: 0 / 0.7618 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.4615, allocations: 1.548 MB / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/0.4619, allocations: 175.4 kB / 0.7635 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.58, allocations: 0 / 0.7635 GB, free: 13.35 MB / 0.6511 GB