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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.068/4.068, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.425e-05, allocations: 3.906 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2466, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.4697, allocations: 124.2 MB / 0.756 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.47, allocations: 67.95 kB / 0.7561 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003984/0.474, allocations: 1.15 MB / 0.7572 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4741, allocations: 0 / 0.7572 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.4741, allocations: 8 kB / 0.7572 GB, free: 4.277 MB / 0.6355 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.0004052/0.4745, allocations: 358.3 kB / 0.7576 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4746, allocations: 12.03 kB / 0.7576 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.4747, allocations: 34.56 kB / 0.7576 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.4747, allocations: 19.8 kB / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.4749, allocations: 182.8 kB / 0.7578 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.4749, allocations: 12 kB / 0.7578 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.4749, allocations: 8 kB / 0.7578 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4752, allocations: 90.16 kB / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4752, allocations: 0 / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.4752, allocations: 8 kB / 0.7579 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4752, allocations: 0 / 0.7579 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.4754, allocations: 36 kB / 0.7579 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/0.4761, allocations: 464.5 kB / 0.7584 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.4762, allocations: 37.16 kB / 0.7584 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.4763, allocations: 23.69 kB / 0.7584 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.4763, allocations: 0 / 0.7584 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4763, allocations: 34.56 kB / 0.7585 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.4763, allocations: 0 / 0.7585 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001873/0.4765, allocations: 49.55 kB / 0.7585 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4766, allocations: 85.16 kB / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.4768, allocations: 153.1 kB / 0.7587 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.4768, allocations: 25.7 kB / 0.7588 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.4769, allocations: 108.2 kB / 0.7589 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.4769, allocations: 7.906 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.477, allocations: 3.938 kB / 0.7589 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4771, allocations: 322.8 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.4771, allocations: 12 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.4772, allocations: 21.72 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.4772, allocations: 11.94 kB / 0.7592 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4772, allocations: 0 / 0.7592 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001544/0.4774, allocations: 65.53 kB / 0.7593 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4774, allocations: 8 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4775, allocations: 0 / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4775, allocations: 0 / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4776, allocations: 16.06 kB / 0.7593 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4776, allocations: 0 / 0.7593 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.4777, allocations: 7.922 kB / 0.7593 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4777, allocations: 7.984 kB / 0.7593 GB, free: 1.844 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 () * 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 6.865e-05/0.4778, allocations: 104.9 kB / 0.7594 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.4778, allocations: 11.81 kB / 0.7594 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.4779, allocations: 12.56 kB / 0.7595 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4779, allocations: 3.938 kB / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4779, allocations: 0 / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.4779, allocations: 4 kB / 0.7595 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.4784, allocations: 478.8 kB / 0.7599 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4785, allocations: 7.938 kB / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.4785, allocations: 0 / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4785, allocations: 4 kB / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.4785, allocations: 0 / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4786, allocations: 0 / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4786, allocations: 3.984 kB / 0.7599 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.4787, allocations: 95.72 kB / 0.76 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.4788, allocations: 93 kB / 0.7601 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.4788, allocations: 0 / 0.7601 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.4789, allocations: 0 / 0.7601 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.4789, allocations: 0 / 0.7601 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4789, allocations: 15.92 kB / 0.7601 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001444/0.4791, allocations: 127.5 kB / 0.7603 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4791, allocations: 0 / 0.7603 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002374/0.4793, allocations: 8 kB / 0.7603 GB, free: 0.7773 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.0004461/0.4798, allocations: 0.7031 MB / 0.761 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.4799, allocations: 23.94 kB / 0.761 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4799, allocations: 0 / 0.761 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.48, allocations: 4 kB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.4801, allocations: 16.02 kB / 0.761 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.4806, allocations: 147.9 kB / 0.7611 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4809, allocations: 0.6965 MB / 0.7618 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.258e-05/0.481, allocations: 20.3 kB / 0.7618 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.481, allocations: 19.44 kB / 0.7619 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.481, allocations: 4 kB / 0.7619 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.5053, allocations: 1.549 MB / 0.7634 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.5056, allocations: 167 kB / 0.7635 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.679, allocations: 0 / 0.7635 GB, free: 13.34 MB / 0.6511 GB