Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadModel(Buildings): time 4.136/4.136, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.165e-05, allocations: 8 kB / 0.5325 GB, free: 1.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6063, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.7984, allocations: 123.5 MB / 0.7496 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.7986, allocations: 67.97 kB / 0.7496 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003862/0.8025, allocations: 1.163 MB / 0.7508 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8026, allocations: 0 / 0.7508 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.8026, allocations: 0 / 0.7508 GB, free: 2.789 MB / 0.6198 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.0004027/0.803, allocations: 362.3 kB / 0.7511 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8031, allocations: 8.031 kB / 0.7511 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.8031, allocations: 11.86 kB / 0.7511 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.8033, allocations: 174.9 kB / 0.7513 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.8034, allocations: 4 kB / 0.7513 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.8034, allocations: 11.94 kB / 0.7513 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/0.8035, allocations: 35.98 kB / 0.7514 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.8037, allocations: 75.41 kB / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.865e-06/0.8037, allocations: 0 / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.8037, allocations: 0 / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.101e-06/0.8038, allocations: 4 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.8045, allocations: 425.1 kB / 0.7518 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.8046, allocations: 37.16 kB / 0.7519 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.8046, allocations: 17.84 kB / 0.7519 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.703e-06/0.8046, allocations: 0 / 0.7519 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.8047, allocations: 38.59 kB / 0.7519 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.8047, allocations: 4 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/0.8049, allocations: 41.59 kB / 0.752 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.805, allocations: 77.11 kB / 0.752 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.8051, allocations: 131.6 kB / 0.7522 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.8051, allocations: 25.7 kB / 0.7522 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.8052, allocations: 112 kB / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.963e-06/0.8053, allocations: 3.906 kB / 0.7523 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-06/0.8053, allocations: 0 / 0.7523 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8054, allocations: 322.8 kB / 0.7526 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.8055, allocations: 8 kB / 0.7526 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.8055, allocations: 21.66 kB / 0.7526 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.8056, allocations: 12 kB / 0.7526 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.466e-06/0.8056, allocations: 7.891 kB / 0.7527 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.8057, allocations: 57.59 kB / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8058, allocations: 4.219 kB / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.09e-06/0.8058, allocations: 0 / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8058, allocations: 7.938 kB / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.8059, allocations: 11.94 kB / 0.7527 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.915e-06/0.8059, allocations: 0 / 0.7527 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.992e-05/0.806, allocations: 8 kB / 0.7527 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-06/0.806, allocations: 4 kB / 0.7527 GB, free: 0.5312 MB / 0.6198 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 () * 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 8.08e-05/0.8061, allocations: 101 kB / 0.7528 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.8062, allocations: 11.86 kB / 0.7529 GB, free: 424 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.8062, allocations: 11.95 kB / 0.7529 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-06/0.8062, allocations: 4 kB / 0.7529 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-06/0.8062, allocations: 0 / 0.7529 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-06/0.8062, allocations: 0 / 0.7529 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.8068, allocations: 455.3 kB / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-06/0.8068, allocations: 0 / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.8069, allocations: 4 kB / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.212e-06/0.8069, allocations: 0 / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-06/0.8069, allocations: 0 / 0.7533 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-06/0.8069, allocations: 4 kB / 0.7533 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.597e-06/0.8069, allocations: 0 / 0.7533 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.8071, allocations: 91.62 kB / 0.7534 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.8071, allocations: 85.11 kB / 0.7535 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.8072, allocations: 3.938 kB / 0.7535 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.93e-05/0.8072, allocations: 96 / 0.7535 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.8072, allocations: 7.969 kB / 0.7535 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-06/0.8073, allocations: 4 kB / 0.7535 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.575e-05/0.8074, allocations: 105.7 kB / 0.7536 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.43e-07/0.8074, allocations: 0 / 0.7536 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002564/0.8076, allocations: 8 kB / 0.7536 GB, free: 15.55 MB / 0.6355 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 () * 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.0001356/0.8078, allocations: 105.4 kB / 0.7537 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.347e-05/0.8079, allocations: 16 kB / 0.7537 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.556e-06/0.8079, allocations: 0 / 0.7537 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.8079, allocations: 11.94 kB / 0.7537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.8081, allocations: 4.203 kB / 0.7537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.8084, allocations: 116.9 kB / 0.7538 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.8088, allocations: 0.7001 MB / 0.7545 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.8089, allocations: 4.188 kB / 0.7545 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.8089, allocations: 11.44 kB / 0.7545 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of SimCode: time 1.355e-06/0.8089, allocations: 7.938 kB / 0.7545 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.00263/0.8115, allocations: 319 kB / 0.7549 GB, free: 14.21 MB / 0.6355 GB