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_gal.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_gal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.01023/0.01023, allocations: 89.06 kB / 15.04 MB, free: 5.578 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.001186/0.001186, allocations: 170 kB / 15.92 MB, free: 5.551 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 1.989/1.989, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.433/2.433, allocations: 252.8 MB / 0.511 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004755, allocations: 13 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 106.2 MB / 0.7281 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001318/0.236, allocations: 0.557 MB / 0.7286 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001462/0.2362, allocations: 47.78 kB / 0.7287 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.2363, allocations: 0 / 0.7287 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2363, allocations: 3.938 kB / 0.7287 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2364, allocations: 15.92 kB / 0.7287 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 5.63e-05/0.2365, allocations: 11.98 kB / 0.7287 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.2366, allocations: 43.89 kB / 0.7287 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2368, allocations: 37.55 kB / 0.7288 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.2369, allocations: 15.92 kB / 0.7288 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.2369, allocations: 23.8 kB / 0.7288 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.237, allocations: 4 kB / 0.7288 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.237, allocations: 4 kB / 0.7288 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.237, allocations: 15.92 kB / 0.7288 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.2371, allocations: 37.64 kB / 0.7289 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2372, allocations: 51.88 kB / 0.7289 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2372, allocations: 0 / 0.7289 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2372, allocations: 0 / 0.7289 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2372, allocations: 0 / 0.7289 GB, free: 7.191 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.0005085/0.2377, allocations: 379.3 kB / 0.7293 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.2378, allocations: 8.031 kB / 0.7293 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.2378, allocations: 38.56 kB / 0.7293 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.2379, allocations: 15.81 kB / 0.7293 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.2382, allocations: 198.9 kB / 0.7295 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2382, allocations: 7.938 kB / 0.7295 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.2382, allocations: 8 kB / 0.7295 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.2385, allocations: 91.3 kB / 0.7296 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2385, allocations: 0 / 0.7296 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2385, allocations: 4 kB / 0.7296 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2385, allocations: 11.94 kB / 0.7296 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2387, allocations: 43.91 kB / 0.7297 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.2394, allocations: 440.7 kB / 0.7301 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.2395, allocations: 41.19 kB / 0.7301 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.2395, allocations: 0 / 0.7301 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.2396, allocations: 42.67 kB / 0.7302 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2396, allocations: 0 / 0.7302 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002397/0.2398, allocations: 53.45 kB / 0.7302 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.2399, allocations: 81.36 kB / 0.7303 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2402, allocations: 173.2 kB / 0.7305 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2402, allocations: 25.7 kB / 0.7305 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.2403, allocations: 100 kB / 0.7306 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.2403, allocations: 15.83 kB / 0.7306 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.2403, allocations: 0 / 0.7306 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2405, allocations: 318.8 kB / 0.7309 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.2405, allocations: 7.984 kB / 0.7309 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.461e-05/0.2406, allocations: 17.72 kB / 0.7309 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.2406, allocations: 19.89 kB / 0.731 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2406, allocations: 0 / 0.731 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/0.2408, allocations: 61.59 kB / 0.731 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2408, allocations: 4 kB / 0.731 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2408, allocations: 4 kB / 0.731 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2408, allocations: 0 / 0.731 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.241, allocations: 7.938 kB / 0.731 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.241, allocations: 0 / 0.731 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.241, allocations: 11.97 kB / 0.731 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.2411, allocations: 0 / 0.731 GB, free: 4.75 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 0.0001202/0.2412, allocations: 117.8 kB / 0.7312 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.2413, allocations: 7.906 kB / 0.7312 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.2413, allocations: 24.5 kB / 0.7312 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2413, allocations: 7.938 kB / 0.7312 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2413, allocations: 0 / 0.7312 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2413, allocations: 0 / 0.7312 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.2419, allocations: 486.8 kB / 0.7317 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.242, allocations: 0 / 0.7317 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.242, allocations: 4 kB / 0.7317 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.242, allocations: 0 / 0.7317 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.242, allocations: 0 / 0.7317 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.242, allocations: 0 / 0.7317 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2421, allocations: 0 / 0.7317 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.2422, allocations: 107.5 kB / 0.7318 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.2423, allocations: 92.92 kB / 0.7319 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.2423, allocations: 0 / 0.7319 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.2424, allocations: 0 / 0.7319 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.2424, allocations: 3.984 kB / 0.7319 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.2424, allocations: 4 kB / 0.7319 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001452/0.2426, allocations: 130.8 kB / 0.732 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2426, allocations: 0 / 0.732 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002675/0.2429, allocations: 15.89 kB / 0.732 GB, free: 3.656 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.0005085/0.2434, allocations: 0.6993 MB / 0.7327 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2435, allocations: 16 kB / 0.7327 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2435, allocations: 0 / 0.7327 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.2436, allocations: 11.94 kB / 0.7327 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.2437, allocations: 11.95 kB / 0.7327 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.245, allocations: 0.7294 MB / 0.7334 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.2453, allocations: 0.7082 MB / 0.7341 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.266e-05/0.2454, allocations: 4.438 kB / 0.7341 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.2455, allocations: 27.42 kB / 0.7342 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/0.2455, allocations: 0 / 0.7342 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.2652, allocations: 1.588 MB / 0.7357 GB, free: 15.86 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.2656, allocations: 191.6 kB / 0.7359 GB, free: 15.62 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.502, allocations: 0 / 0.7359 GB, free: 15.62 MB / 0.573 GB