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_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.From_gal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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.009862/0.009867, allocations: 88.5 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.00113/0.00113, allocations: 174.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.049/2.049, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.728/2.728, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004832, allocations: 12.25 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001687/0.2405, allocations: 0.5609 MB / 0.7286 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.2407, allocations: 47.72 kB / 0.7287 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.2408, allocations: 8 kB / 0.7287 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2409, allocations: 3.938 kB / 0.7287 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.241, allocations: 7.984 kB / 0.7287 GB, free: 9.527 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 6.996e-05/0.2411, allocations: 15.98 kB / 0.7287 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2412, allocations: 39.89 kB / 0.7287 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2414, allocations: 41.55 kB / 0.7288 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.2415, allocations: 19.86 kB / 0.7288 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.2416, allocations: 19.86 kB / 0.7288 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2416, allocations: 0 / 0.7288 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.2417, allocations: 4 kB / 0.7288 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.2417, allocations: 11.94 kB / 0.7288 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2417, allocations: 33.64 kB / 0.7289 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2419, allocations: 55.86 kB / 0.7289 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2419, allocations: 0 / 0.7289 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2419, allocations: 0 / 0.7289 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2419, allocations: 4 kB / 0.7289 GB, free: 9.27 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.0005889/0.2425, allocations: 375.3 kB / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.2426, allocations: 12.02 kB / 0.7293 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.253e-05/0.2427, allocations: 38.56 kB / 0.7293 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.2427, allocations: 11.81 kB / 0.7293 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.2431, allocations: 198.8 kB / 0.7295 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2431, allocations: 8 kB / 0.7295 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.2431, allocations: 7.984 kB / 0.7295 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.2434, allocations: 95.3 kB / 0.7296 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2435, allocations: 0 / 0.7296 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.2435, allocations: 11.94 kB / 0.7296 GB, free: 8.418 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2435, allocations: 0 / 0.7296 GB, free: 8.418 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.2437, allocations: 35.98 kB / 0.7297 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.2446, allocations: 452.5 kB / 0.7301 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/0.2447, allocations: 37.34 kB / 0.7301 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2447, allocations: 0 / 0.7301 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.2448, allocations: 38.55 kB / 0.7302 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.2448, allocations: 3.938 kB / 0.7302 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002859/0.2451, allocations: 61.52 kB / 0.7302 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.2452, allocations: 77.11 kB / 0.7303 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2455, allocations: 176 kB / 0.7305 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2455, allocations: 25.7 kB / 0.7305 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2456, allocations: 104 kB / 0.7306 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.2457, allocations: 15.83 kB / 0.7306 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.2457, allocations: 0 / 0.7306 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2459, allocations: 319.1 kB / 0.7309 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.2459, allocations: 11.98 kB / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.246, allocations: 17.72 kB / 0.731 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.2461, allocations: 11.95 kB / 0.731 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2461, allocations: 0 / 0.731 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001868/0.2463, allocations: 65.53 kB / 0.731 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2463, allocations: 4 kB / 0.731 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2464, allocations: 4.062 kB / 0.731 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2464, allocations: 0 / 0.731 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2465, allocations: 8 kB / 0.731 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2465, allocations: 0 / 0.731 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.2466, allocations: 7.906 kB / 0.731 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2467, allocations: 0 / 0.731 GB, free: 6.828 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.0001408/0.2468, allocations: 117.8 kB / 0.7312 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.2469, allocations: 7.906 kB / 0.7312 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.247, allocations: 24.44 kB / 0.7312 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.247, allocations: 4 kB / 0.7312 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.247, allocations: 0 / 0.7312 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.247, allocations: 0 / 0.7312 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.2478, allocations: 486.8 kB / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2478, allocations: 0 / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.2479, allocations: 4 kB / 0.7317 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2479, allocations: 0 / 0.7317 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2479, allocations: 8.062 kB / 0.7317 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.248, allocations: 7.938 kB / 0.7317 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.248, allocations: 0 / 0.7317 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.2482, allocations: 91.56 kB / 0.7318 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.2483, allocations: 88.92 kB / 0.7319 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.2483, allocations: 4 kB / 0.7319 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.2484, allocations: 4.031 kB / 0.7319 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.2484, allocations: 3.984 kB / 0.7319 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2484, allocations: 0 / 0.7319 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000192/0.2486, allocations: 128 kB / 0.732 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2487, allocations: 0 / 0.732 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004328/0.2491, allocations: 19.83 kB / 0.732 GB, free: 5.734 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.0006233/0.2498, allocations: 0.6954 MB / 0.7327 GB, free: 5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2499, allocations: 19.94 kB / 0.7327 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2499, allocations: 0 / 0.7327 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.25, allocations: 8 kB / 0.7327 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.2502, allocations: 16.23 kB / 0.7327 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2519, allocations: 0.7331 MB / 0.7334 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.2523, allocations: 0.7004 MB / 0.7341 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.56e-05/0.2524, allocations: 8.438 kB / 0.7341 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.2525, allocations: 27.42 kB / 0.7342 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.2525, allocations: 0 / 0.7342 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05525/0.3078, allocations: 1.575 MB / 0.7357 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.3081, allocations: 194.3 kB / 0.7359 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.562, allocations: 0 / 0.7359 GB, free: 1.707 MB / 0.5573 GB