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.To_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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01127/0.01127, allocations: 106.5 kB / 15.05 MB, free: 5.977 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.00119/0.00119, allocations: 184.7 kB / 15.94 MB, free: 5.938 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 2.022/2.022, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.22/2.22, allocations: 236.2 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004593, allocations: 16 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.663, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.8881, allocations: 124.3 MB / 0.8048 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.8885, allocations: 63.97 kB / 0.8049 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004098/0.8926, allocations: 1.163 MB / 0.806 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8926, allocations: 0 / 0.806 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.8927, allocations: 4 kB / 0.806 GB, free: 0.7383 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.0004455/0.8931, allocations: 375 kB / 0.8064 GB, free: 332 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.8932, allocations: 8.031 kB / 0.8064 GB, free: 324 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.8932, allocations: 46.55 kB / 0.8064 GB, free: 268 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.8933, allocations: 15.77 kB / 0.8065 GB, free: 252 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.8935, allocations: 182.9 kB / 0.8066 GB, free: 28 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.8935, allocations: 4 kB / 0.8066 GB, free: 24 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.8935, allocations: 8 kB / 0.8066 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.8938, allocations: 103.2 kB / 0.8067 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8938, allocations: 0 / 0.8067 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.8938, allocations: 4 kB / 0.8067 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.8938, allocations: 0 / 0.8067 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.894, allocations: 39.98 kB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.8947, allocations: 456.8 kB / 0.8072 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.226e-05/0.8948, allocations: 37.22 kB / 0.8073 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.8948, allocations: 7.938 kB / 0.8073 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.8949, allocations: 34.59 kB / 0.8073 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.8949, allocations: 0 / 0.8073 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002201/0.8951, allocations: 65.5 kB / 0.8074 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.8952, allocations: 77.11 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.8954, allocations: 154.4 kB / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.8954, allocations: 25.95 kB / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.8955, allocations: 112 kB / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.8955, allocations: 11.84 kB / 0.8077 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.8955, allocations: 0 / 0.8077 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8957, allocations: 326.8 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.8957, allocations: 8 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.8958, allocations: 13.72 kB / 0.808 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.8958, allocations: 8 kB / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8958, allocations: 8 kB / 0.8081 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.896, allocations: 61.53 kB / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.896, allocations: 8 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.896, allocations: 0 / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8961, allocations: 0 / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.8962, allocations: 8 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8962, allocations: 4 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.8963, allocations: 3.906 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.8963, allocations: 4 kB / 0.8082 GB, free: 14.3 MB / 0.6355 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.0001012/0.8964, allocations: 121.9 kB / 0.8083 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.8965, allocations: 11.89 kB / 0.8083 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.8965, allocations: 12.56 kB / 0.8083 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8965, allocations: 3.938 kB / 0.8083 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8965, allocations: 0 / 0.8083 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8965, allocations: 0 / 0.8083 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.8971, allocations: 485.3 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.8971, allocations: 3.938 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.8971, allocations: 4 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8972, allocations: 0 / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.8972, allocations: 0 / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.8972, allocations: 0 / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8972, allocations: 11.94 kB / 0.8088 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.8973, allocations: 95.62 kB / 0.8089 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.8974, allocations: 96.91 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.8975, allocations: 0 / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.8975, allocations: 0 / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.8975, allocations: 4 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.8975, allocations: 3.938 kB / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001439/0.8977, allocations: 133.5 kB / 0.8091 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8977, allocations: 0 / 0.8091 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002526/0.898, allocations: 15.97 kB / 0.8091 GB, free: 13.21 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.0004288/0.8984, allocations: 0.6915 MB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.8985, allocations: 27.97 kB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8986, allocations: 0 / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.8986, allocations: 7.984 kB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.8988, allocations: 15.09 kB / 0.8098 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.9, allocations: 0.7437 MB / 0.8106 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.9003, allocations: 0.7004 MB / 0.8112 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.196e-05/0.9004, allocations: 12.41 kB / 0.8113 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.9004, allocations: 23.44 kB / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.9005, allocations: 3.938 kB / 0.8113 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.9231, allocations: 1.574 MB / 0.8128 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/0.9235, allocations: 185.3 kB / 0.813 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.07, allocations: 0 / 0.813 GB, free: 9.16 MB / 0.6355 GB