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.To_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.To_BtuPerHour,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0144/0.01441, allocations: 88.36 kB / 15.04 MB, free: 5.582 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.001721/0.001721, allocations: 173.9 kB / 15.92 MB, free: 5.555 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.162/2.162, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.345/2.345, allocations: 252.8 MB / 0.511 GB, free: 8.371 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 10.81 kB / 0.6243 GB, free: 21.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2222, allocations: 106.2 MB / 0.7281 GB, free: 8.152 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001298/0.2235, allocations: 0.5571 MB / 0.7286 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.2237, allocations: 47.77 kB / 0.7287 GB, free: 7.547 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.2238, allocations: 0 / 0.7287 GB, free: 7.547 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.2238, allocations: 3.938 kB / 0.7287 GB, free: 7.543 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2239, allocations: 7.938 kB / 0.7287 GB, free: 7.535 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 5.774e-05/0.224, allocations: 15.98 kB / 0.7287 GB, free: 7.52 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2241, allocations: 35.95 kB / 0.7287 GB, free: 7.484 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.2243, allocations: 45.48 kB / 0.7288 GB, free: 7.43 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.2243, allocations: 15.92 kB / 0.7288 GB, free: 7.414 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.2244, allocations: 27.8 kB / 0.7288 GB, free: 7.387 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2244, allocations: 0 / 0.7288 GB, free: 7.387 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2245, allocations: 4 kB / 0.7288 GB, free: 7.383 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2245, allocations: 7.922 kB / 0.7288 GB, free: 7.375 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.2245, allocations: 37.64 kB / 0.7289 GB, free: 7.332 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2247, allocations: 59.88 kB / 0.7289 GB, free: 7.273 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2247, allocations: 0 / 0.7289 GB, free: 7.273 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2247, allocations: 0 / 0.7289 GB, free: 7.273 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2247, allocations: 0 / 0.7289 GB, free: 7.273 MB / 0.5574 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.0004877/0.2252, allocations: 371.3 kB / 0.7293 GB, free: 6.863 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2253, allocations: 8.031 kB / 0.7293 GB, free: 6.855 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.2253, allocations: 46.55 kB / 0.7293 GB, free: 6.801 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.2254, allocations: 11.81 kB / 0.7293 GB, free: 6.789 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.2256, allocations: 202.9 kB / 0.7295 GB, free: 6.551 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2257, allocations: 7.938 kB / 0.7295 GB, free: 6.543 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.2257, allocations: 11.94 kB / 0.7295 GB, free: 6.531 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.2259, allocations: 91.3 kB / 0.7296 GB, free: 6.43 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2259, allocations: 0 / 0.7296 GB, free: 6.43 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.226, allocations: 0 / 0.7296 GB, free: 6.43 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.226, allocations: 4 kB / 0.7296 GB, free: 6.426 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2261, allocations: 39.92 kB / 0.7297 GB, free: 6.387 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.2269, allocations: 444.7 kB / 0.7301 GB, free: 5.898 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 7.143e-05/0.227, allocations: 41.19 kB / 0.7301 GB, free: 5.84 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.227, allocations: 0 / 0.7301 GB, free: 5.84 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.227, allocations: 38.69 kB / 0.7302 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.227, allocations: 0 / 0.7302 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0002258/0.2273, allocations: 65.44 kB / 0.7302 GB, free: 5.723 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.2273, allocations: 77.11 kB / 0.7303 GB, free: 5.629 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.2276, allocations: 167.1 kB / 0.7305 GB, free: 5.457 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2276, allocations: 25.7 kB / 0.7305 GB, free: 5.426 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.2277, allocations: 108.3 kB / 0.7306 GB, free: 5.316 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.2277, allocations: 7.844 kB / 0.7306 GB, free: 5.309 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.2277, allocations: 0 / 0.7306 GB, free: 5.309 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2279, allocations: 322.8 kB / 0.7309 GB, free: 4.984 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.2279, allocations: 8 kB / 0.7309 GB, free: 4.977 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.228, allocations: 25.69 kB / 0.7309 GB, free: 4.945 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.228, allocations: 19.89 kB / 0.731 GB, free: 4.926 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2281, allocations: 4 kB / 0.731 GB, free: 4.922 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.2282, allocations: 53.59 kB / 0.731 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2282, allocations: 8 kB / 0.731 GB, free: 4.855 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2282, allocations: 0 / 0.731 GB, free: 4.855 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2283, allocations: 0 / 0.731 GB, free: 4.855 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2284, allocations: 7.938 kB / 0.731 GB, free: 4.848 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2284, allocations: 4 kB / 0.731 GB, free: 4.844 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.2285, allocations: 7.906 kB / 0.731 GB, free: 4.836 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2285, allocations: 4 kB / 0.731 GB, free: 4.832 MB / 0.5574 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 0.0001034/0.2286, allocations: 117.9 kB / 0.7312 GB, free: 4.707 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.2287, allocations: 11.91 kB / 0.7312 GB, free: 4.695 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.2287, allocations: 20.44 kB / 0.7312 GB, free: 4.68 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2287, allocations: 4 kB / 0.7312 GB, free: 4.676 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.2287, allocations: 4 kB / 0.7312 GB, free: 4.672 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2287, allocations: 0 / 0.7312 GB, free: 4.672 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.2293, allocations: 486.8 kB / 0.7317 GB, free: 4.133 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2293, allocations: 4.062 kB / 0.7317 GB, free: 4.129 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.2294, allocations: 4 kB / 0.7317 GB, free: 4.125 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2294, allocations: 3.938 kB / 0.7317 GB, free: 4.121 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2294, allocations: 0 / 0.7317 GB, free: 4.121 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2294, allocations: 0 / 0.7317 GB, free: 4.121 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2295, allocations: 0 / 0.7317 GB, free: 4.121 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.2296, allocations: 103.5 kB / 0.7318 GB, free: 3.992 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.2297, allocations: 88.92 kB / 0.7319 GB, free: 3.887 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2297, allocations: 0 / 0.7319 GB, free: 3.887 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.2298, allocations: 4 kB / 0.7319 GB, free: 3.883 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.2298, allocations: 4 kB / 0.7319 GB, free: 3.879 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2298, allocations: 3.984 kB / 0.7319 GB, free: 3.875 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001415/0.23, allocations: 122.8 kB / 0.732 GB, free: 3.758 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.51e-07/0.23, allocations: 0 / 0.732 GB, free: 3.758 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002683/0.2303, allocations: 15.89 kB / 0.732 GB, free: 3.742 MB / 0.5574 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.000525/0.2308, allocations: 0.7032 MB / 0.7327 GB, free: 3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.2309, allocations: 20.03 kB / 0.7327 GB, free: 2.98 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2309, allocations: 0 / 0.7327 GB, free: 2.98 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/0.231, allocations: 7.938 kB / 0.7327 GB, free: 2.973 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.2311, allocations: 11.95 kB / 0.7327 GB, free: 2.961 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2324, allocations: 0.7379 MB / 0.7334 GB, free: 2.176 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2328, allocations: 0.7043 MB / 0.7341 GB, free: 1.445 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.2329, allocations: 4.438 kB / 0.7341 GB, free: 1.441 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.2329, allocations: 23.42 kB / 0.7342 GB, free: 1.418 MB / 0.5574 GB Notification: Performance of SimCode: time 9.82e-07/0.233, allocations: 0 / 0.7342 GB, free: 1.418 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.2579, allocations: 1.584 MB / 0.7357 GB, free: 15.93 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/0.2584, allocations: 203 kB / 0.7359 GB, free: 15.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.485, allocations: 0 / 0.7359 GB, free: 15.7 MB / 0.573 GB