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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.01085/0.01086, allocations: 107.2 kB / 15.06 MB, free: 6.023 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.001195/0.001195, allocations: 182.1 kB / 15.95 MB, free: 5.957 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.921/1.921, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.214/2.214, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6886, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001112/0.6898, allocations: 0.5455 MB / 0.684 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.6899, allocations: 54.33 kB / 0.684 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.69, allocations: 2.188 kB / 0.684 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.69, allocations: 5.344 kB / 0.684 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.6902, allocations: 7.719 kB / 0.684 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 5.194e-05/0.6902, allocations: 14.09 kB / 0.684 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.6903, allocations: 42.67 kB / 0.6841 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.6905, allocations: 39.36 kB / 0.6841 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.6905, allocations: 15.91 kB / 0.6841 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.6906, allocations: 24.69 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.6906, allocations: 2.75 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.6907, allocations: 1.281 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.6907, allocations: 12.14 kB / 0.6842 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.6907, allocations: 37.95 kB / 0.6842 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.6908, allocations: 51.42 kB / 0.6843 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.6908, allocations: 0 / 0.6843 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6909, allocations: 0 / 0.6843 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6909, allocations: 4 kB / 0.6843 GB, free: 16.22 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.0003807/0.6913, allocations: 371.5 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6913, allocations: 10.94 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.6914, allocations: 37.73 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.6914, allocations: 13 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.6916, allocations: 203.1 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.6916, allocations: 6.719 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.6917, allocations: 13.52 kB / 0.6849 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.6919, allocations: 92.48 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6919, allocations: 1.344 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.6919, allocations: 7.938 kB / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6919, allocations: 2.344 kB / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.6921, allocations: 35.02 kB / 0.685 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.6927, allocations: 449.4 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.6927, allocations: 38.19 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.6927, allocations: 2.219 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.6928, allocations: 44.16 kB / 0.6855 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.6928, allocations: 4 kB / 0.6855 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000197/0.693, allocations: 55.17 kB / 0.6856 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.693, allocations: 77.11 kB / 0.6857 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.6932, allocations: 174.3 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.6933, allocations: 25.7 kB / 0.6859 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.6933, allocations: 101.4 kB / 0.686 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.6933, allocations: 10 kB / 0.686 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-06/0.6934, allocations: 256 / 0.686 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.6934, allocations: 324.9 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.6935, allocations: 4.359 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.6935, allocations: 20.55 kB / 0.6863 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.6936, allocations: 12.73 kB / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6936, allocations: 0 / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/0.6937, allocations: 63.16 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6937, allocations: 9.125 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6937, allocations: 1.406 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6938, allocations: 0.6562 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.6939, allocations: 7.156 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6939, allocations: 1.062 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.6939, allocations: 10.19 kB / 0.6864 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.6939, allocations: 1.062 kB / 0.6864 GB, free: 14.15 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.113e-05/0.694, allocations: 118.2 kB / 0.6865 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.6941, allocations: 8.625 kB / 0.6865 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.6941, allocations: 18.94 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6941, allocations: 0 / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6942, allocations: 1.156 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6942, allocations: 2 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.6946, allocations: 482.9 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6946, allocations: 0 / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.6946, allocations: 5.156 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6947, allocations: 4.062 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.6947, allocations: 1.734 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.6947, allocations: 4.969 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6947, allocations: 1.375 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.6948, allocations: 99.95 kB / 0.6871 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.6949, allocations: 90.12 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.6949, allocations: 5.953 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.901e-05/0.695, allocations: 96 / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.695, allocations: 6.828 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.695, allocations: 1.312 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001192/0.6951, allocations: 130.2 kB / 0.6873 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.9e-07/0.6951, allocations: 3.938 kB / 0.6873 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002538/0.6954, allocations: 12.05 kB / 0.6874 GB, free: 13.2 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.0003694/0.6958, allocations: 0.698 MB / 0.688 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.581e-05/0.6959, allocations: 19.75 kB / 0.6881 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6959, allocations: 0 / 0.6881 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/0.6959, allocations: 14.36 kB / 0.6881 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.6961, allocations: 12.03 kB / 0.6881 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.6971, allocations: 0.7402 MB / 0.6888 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.6973, allocations: 0.7008 MB / 0.6895 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.692e-05/0.6974, allocations: 6.406 kB / 0.6895 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.6974, allocations: 29.86 kB / 0.6895 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.6974, allocations: 1.438 kB / 0.6895 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.7239, allocations: 1.583 MB / 0.6911 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.7242, allocations: 199.6 kB / 0.6913 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.953, allocations: 0 / 0.6913 GB, free: 10.7 MB / 0.5261 GB