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 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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01096/0.01096, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001226/0.001226, allocations: 181.4 kB / 15.95 MB, free: 5.52 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 1.927/1.927, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.234/2.234, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007154/0.0007155, allocations: 15.98 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6899, allocations: 98.71 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001135/0.6911, allocations: 0.5457 MB / 0.684 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.6913, allocations: 47.12 kB / 0.684 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.6913, allocations: 1.562 kB / 0.684 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.6914, allocations: 5.672 kB / 0.684 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.6915, allocations: 14.28 kB / 0.684 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 5.676e-05/0.6915, allocations: 14.09 kB / 0.684 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.6917, allocations: 36.09 kB / 0.6841 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.6918, allocations: 41.17 kB / 0.6841 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.6919, allocations: 11.8 kB / 0.6841 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.692, allocations: 26.86 kB / 0.6842 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.692, allocations: 0.7188 kB / 0.6842 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.692, allocations: 2.656 kB / 0.6842 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.692, allocations: 15.28 kB / 0.6842 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.6921, allocations: 38.77 kB / 0.6842 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.6922, allocations: 53.91 kB / 0.6843 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.6922, allocations: 0 / 0.6843 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6922, allocations: 1 kB / 0.6843 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6922, allocations: 0 / 0.6843 GB, free: 16.3 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.0004112/0.6927, allocations: 373.4 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6927, allocations: 8.594 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.6928, allocations: 42.69 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.6928, allocations: 13.72 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.693, allocations: 200.3 kB / 0.6849 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.6931, allocations: 10.44 kB / 0.6849 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.6931, allocations: 5.375 kB / 0.6849 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.6933, allocations: 93.77 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.6933, allocations: 4.828 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.6934, allocations: 5.281 kB / 0.685 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.6934, allocations: 2.719 kB / 0.685 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.6935, allocations: 39.14 kB / 0.685 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.6941, allocations: 449.5 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.6942, allocations: 38.2 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.6942, allocations: 5.469 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.6943, allocations: 40.66 kB / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.6943, allocations: 3.938 kB / 0.6855 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002048/0.6945, allocations: 54.45 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.6945, allocations: 78.92 kB / 0.6857 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.6947, allocations: 167.9 kB / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.6948, allocations: 25.95 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.6948, allocations: 104.6 kB / 0.6859 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.6948, allocations: 9.453 kB / 0.686 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.6949, allocations: 1.25 kB / 0.686 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.6949, allocations: 320.2 kB / 0.6863 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.695, allocations: 4.641 kB / 0.6863 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.695, allocations: 19.98 kB / 0.6863 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.6951, allocations: 20.89 kB / 0.6863 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6951, allocations: 1.031 kB / 0.6863 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.6952, allocations: 58.5 kB / 0.6864 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6952, allocations: 6.266 kB / 0.6864 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6952, allocations: 0 / 0.6864 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6953, allocations: 1.406 kB / 0.6864 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.6954, allocations: 10.31 kB / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.6954, allocations: 1.562 kB / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.6955, allocations: 9.828 kB / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.6955, allocations: 1.219 kB / 0.6864 GB, free: 14.23 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 7.263e-05/0.6956, allocations: 122.2 kB / 0.6865 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.6956, allocations: 9.031 kB / 0.6865 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.6957, allocations: 13.89 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6957, allocations: 1.953 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6957, allocations: 0 / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6957, allocations: 6.031 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.6961, allocations: 479.2 kB / 0.687 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6962, allocations: 0.6562 kB / 0.687 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.6962, allocations: 3.578 kB / 0.687 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6962, allocations: 1.469 kB / 0.687 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.6962, allocations: 0 / 0.687 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.6962, allocations: 1.703 kB / 0.687 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6963, allocations: 1.062 kB / 0.687 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.6964, allocations: 103.3 kB / 0.6871 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.6964, allocations: 95.05 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.6965, allocations: 1.703 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.6965, allocations: 0 / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.6965, allocations: 2.578 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.6966, allocations: 1.344 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001187/0.6967, allocations: 128.5 kB / 0.6873 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6967, allocations: 1.188 kB / 0.6873 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002601/0.697, allocations: 15.02 kB / 0.6873 GB, free: 13.28 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.0003267/0.6973, allocations: 0.6935 MB / 0.688 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.6974, allocations: 20.55 kB / 0.688 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6974, allocations: 1.25 kB / 0.688 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.6975, allocations: 12.5 kB / 0.688 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.6976, allocations: 11.72 kB / 0.6881 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.6987, allocations: 0.7433 MB / 0.6888 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.6989, allocations: 0.7036 MB / 0.6895 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.262e-05/0.6989, allocations: 7.234 kB / 0.6895 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.699, allocations: 24.48 kB / 0.6895 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.699, allocations: 0 / 0.6895 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.7234, allocations: 1.601 MB / 0.6911 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.7237, allocations: 187.3 kB / 0.6912 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.164, allocations: 1.469 kB / 0.6912 GB, free: 10.77 MB / 0.5261 GB