Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004202/0.004201, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001115/0.001115, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.914/3.914, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.344/4.344, allocations: 472.3 MB / 0.9024 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005206, allocations: 16.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1832, allocations: 98.71 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.768/0.9512, allocations: 124.3 MB / 1.226 GB, free: 28.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.9515, allocations: 70.91 kB / 1.226 GB, free: 28.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003959/0.9555, allocations: 1.156 MB / 1.227 GB, free: 28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.875e-06/0.9556, allocations: 0 / 1.227 GB, free: 28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.9556, allocations: 0 / 1.227 GB, free: 28 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.0003652/0.956, allocations: 376.3 kB / 1.228 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.956, allocations: 11.09 kB / 1.228 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.9561, allocations: 15.81 kB / 1.228 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.9562, allocations: 180.9 kB / 1.228 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.9562, allocations: 7.938 kB / 1.228 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.9563, allocations: 4.812 kB / 1.228 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.9565, allocations: 98.28 kB / 1.228 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9565, allocations: 2.719 kB / 1.228 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.9565, allocations: 0 / 1.228 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.9565, allocations: 4 kB / 1.228 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.9566, allocations: 42.41 kB / 1.228 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.9573, allocations: 456.5 kB / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.9574, allocations: 43.31 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.9575, allocations: 17.59 kB / 1.228 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.9575, allocations: 0.6562 kB / 1.228 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.9575, allocations: 33.22 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/0.9575, allocations: 4 kB / 1.228 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000199/0.9577, allocations: 62.62 kB / 1.229 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.9578, allocations: 85.7 kB / 1.229 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.958, allocations: 169.9 kB / 1.229 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.958, allocations: 25.7 kB / 1.229 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.9581, allocations: 108 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.9581, allocations: 8.781 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.9581, allocations: 3.375 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9583, allocations: 324.9 kB / 1.229 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.9583, allocations: 8.625 kB / 1.229 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.9584, allocations: 18.39 kB / 1.229 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.9584, allocations: 12.05 kB / 1.229 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9584, allocations: 1.844 kB / 1.229 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/0.9586, allocations: 69.89 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9586, allocations: 4.656 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9586, allocations: 2.531 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9586, allocations: 4.938 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.9587, allocations: 5.5 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9588, allocations: 3.031 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.9588, allocations: 7.906 kB / 1.229 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.9588, allocations: 0 / 1.229 GB, free: 25.86 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 () * 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.613e-05/0.9589, allocations: 118.4 kB / 1.229 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.959, allocations: 7.906 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.9591, allocations: 15.64 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9591, allocations: 0 / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9591, allocations: 3.438 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9591, allocations: 4.703 kB / 1.229 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.9601, allocations: 478.7 kB / 1.23 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9601, allocations: 0 / 1.23 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.9602, allocations: 4 kB / 1.23 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9602, allocations: 2.406 kB / 1.23 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.9602, allocations: 5.875 kB / 1.23 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9602, allocations: 5.906 kB / 1.23 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9602, allocations: 0 / 1.23 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.338e-05/0.9603, allocations: 76.12 kB / 1.23 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.9604, allocations: 95.44 kB / 1.23 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.9604, allocations: 7.219 kB / 1.23 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.9605, allocations: 1.266 kB / 1.23 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.9605, allocations: 0 / 1.23 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.9605, allocations: 0 / 1.23 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001285/0.9607, allocations: 132.8 kB / 1.23 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9607, allocations: 0 / 1.23 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002584/0.9609, allocations: 15.31 kB / 1.23 GB, free: 40.91 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 () * 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.0001128/0.9611, allocations: 104.6 kB / 1.23 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.9612, allocations: 18.84 kB / 1.23 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9612, allocations: 0 / 1.23 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.9612, allocations: 9.109 kB / 1.23 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.9614, allocations: 21.48 kB / 1.23 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.9619, allocations: 192.9 kB / 1.231 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.9622, allocations: 0.6974 MB / 1.231 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.9623, allocations: 7.672 kB / 1.231 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.9623, allocations: 11.44 kB / 1.231 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.9623, allocations: 3.25 kB / 1.231 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.00328/0.9656, allocations: 447.8 kB / 1.232 GB, free: 39.63 MB / 0.6355 GB