Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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.3/package.mo): time 0.01465/0.01465, allocations: 89.05 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001173/0.001173, allocations: 168.7 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.071/2.071, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.322/2.322, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005055, allocations: 12.38 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2601, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001279/0.2614, allocations: 0.561 MB / 0.7286 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001406/0.2616, allocations: 39.8 kB / 0.7287 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.2616, allocations: 0 / 0.7287 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.2617, allocations: 11.92 kB / 0.7287 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2618, allocations: 11.92 kB / 0.7287 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 5.493e-05/0.2619, allocations: 11.98 kB / 0.7287 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.262, allocations: 43.89 kB / 0.7287 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2621, allocations: 45.48 kB / 0.7288 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.2622, allocations: 7.938 kB / 0.7288 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.957e-05/0.2623, allocations: 27.8 kB / 0.7288 GB, free: 9.406 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2623, allocations: 0 / 0.7288 GB, free: 9.406 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2623, allocations: 4 kB / 0.7288 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.2624, allocations: 15.91 kB / 0.7288 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.2624, allocations: 37.64 kB / 0.7289 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2625, allocations: 51.88 kB / 0.7289 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.2625, allocations: 0 / 0.7289 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2626, allocations: 0 / 0.7289 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2626, allocations: 4 kB / 0.7289 GB, free: 9.289 MB / 0.5573 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.0005003/0.2631, allocations: 375.3 kB / 0.7293 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2631, allocations: 8.031 kB / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.2632, allocations: 42.55 kB / 0.7293 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.2632, allocations: 11.81 kB / 0.7293 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.2635, allocations: 198.8 kB / 0.7295 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2635, allocations: 8 kB / 0.7295 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2636, allocations: 4 kB / 0.7295 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2638, allocations: 99.28 kB / 0.7296 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2638, allocations: 0 / 0.7296 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2638, allocations: 4 kB / 0.7296 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.2638, allocations: 4 kB / 0.7296 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.264, allocations: 39.92 kB / 0.7297 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.2647, allocations: 448.6 kB / 0.7301 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.2648, allocations: 37.19 kB / 0.7301 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.2648, allocations: 0 / 0.7301 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.2648, allocations: 38.69 kB / 0.7302 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.2649, allocations: 4 kB / 0.7302 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002225/0.2651, allocations: 61.44 kB / 0.7302 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2652, allocations: 77.11 kB / 0.7303 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.2654, allocations: 165.2 kB / 0.7305 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2654, allocations: 29.7 kB / 0.7305 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.2655, allocations: 100 kB / 0.7306 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.2655, allocations: 11.84 kB / 0.7306 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2655, allocations: 0 / 0.7306 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2657, allocations: 327.1 kB / 0.7309 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.2657, allocations: 4 kB / 0.7309 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.2658, allocations: 21.7 kB / 0.7309 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.2658, allocations: 19.89 kB / 0.731 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2658, allocations: 0 / 0.731 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/0.266, allocations: 57.55 kB / 0.731 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.266, allocations: 8.062 kB / 0.731 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.266, allocations: 4 kB / 0.731 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2661, allocations: 0 / 0.731 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2662, allocations: 11.92 kB / 0.731 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2662, allocations: 4 kB / 0.731 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.2662, allocations: 3.906 kB / 0.731 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2663, allocations: 4 kB / 0.7311 GB, free: 6.848 MB / 0.5573 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 9.967e-05/0.2664, allocations: 113.8 kB / 0.7312 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.2664, allocations: 11.91 kB / 0.7312 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.2665, allocations: 24.44 kB / 0.7312 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2665, allocations: 4 kB / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2665, allocations: 0 / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2665, allocations: 0 / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.2671, allocations: 478.8 kB / 0.7317 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2671, allocations: 0 / 0.7317 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.2672, allocations: 4 kB / 0.7317 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2672, allocations: 0 / 0.7317 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2672, allocations: 12.05 kB / 0.7317 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2672, allocations: 4 kB / 0.7317 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2672, allocations: 0 / 0.7317 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.2674, allocations: 91.52 kB / 0.7318 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.2675, allocations: 96.91 kB / 0.7319 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.2675, allocations: 4.031 kB / 0.7319 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.2675, allocations: 0 / 0.7319 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.2676, allocations: 4 kB / 0.7319 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.2676, allocations: 0 / 0.7319 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001481/0.2677, allocations: 126.8 kB / 0.732 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2677, allocations: 0 / 0.732 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002645/0.268, allocations: 15.89 kB / 0.732 GB, free: 5.766 MB / 0.5573 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.0005031/0.2685, allocations: 0.6993 MB / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.2687, allocations: 19.98 kB / 0.7327 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2687, allocations: 0 / 0.7327 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.2687, allocations: 12.16 kB / 0.7327 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.2689, allocations: 16.02 kB / 0.7327 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2701, allocations: 0.737 MB / 0.7334 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2704, allocations: 0.6965 MB / 0.7341 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.254e-05/0.2705, allocations: 12.36 kB / 0.7341 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.2706, allocations: 27.44 kB / 0.7342 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/0.2706, allocations: 0 / 0.7342 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.2956, allocations: 1.589 MB / 0.7357 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004415/0.2961, allocations: 201.7 kB / 0.7359 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.702, allocations: 0 / 0.7359 GB, free: 1.723 MB / 0.5573 GB