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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01271/0.01272, allocations: 222.2 kB / 15.17 MB, free: 5.922 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.001206/0.001206, allocations: 175.5 kB / 16.06 MB, free: 5.832 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 4.419/4.419, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.324/4.324, allocations: 472.3 MB / 0.9018 GB, free: 124 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006673/0.0006678, allocations: 12 kB / 1.008 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7727, allocations: 98.72 MB / 1.104 GB, free: 206.3 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001738/0.7745, allocations: 0.546 MB / 1.105 GB, free: 205.9 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002023/0.7748, allocations: 38.98 kB / 1.105 GB, free: 205.9 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.7749, allocations: 1.25 kB / 1.105 GB, free: 205.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.775, allocations: 5.203 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.7751, allocations: 10.88 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.525e-05/0.7752, allocations: 17.53 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.7754, allocations: 63.39 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.7757, allocations: 30.36 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.7757, allocations: 16.34 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.7759, allocations: 23.97 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.7759, allocations: 2.312 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.7759, allocations: 2.156 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.776, allocations: 11.66 kB / 1.105 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.776, allocations: 37.95 kB / 1.105 GB, free: 205.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.7762, allocations: 58.02 kB / 1.105 GB, free: 205.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.7763, allocations: 0 / 1.105 GB, free: 205.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.047e-06/0.7763, allocations: 4.344 kB / 1.105 GB, free: 205.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.7763, allocations: 0 / 1.105 GB, free: 205.7 MB / 0.7136 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.0006251/0.777, allocations: 371.7 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.777, allocations: 10.48 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.7771, allocations: 38.33 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.7772, allocations: 17.78 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.7775, allocations: 200.4 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.7776, allocations: 2.469 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.7776, allocations: 9.625 kB / 1.106 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.7779, allocations: 94.14 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.778, allocations: 2.625 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.778, allocations: 5.312 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.778, allocations: 5.75 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.7782, allocations: 36.25 kB / 1.106 GB, free: 205 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.7793, allocations: 456.9 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.7794, allocations: 42.88 kB / 1.106 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.7795, allocations: 13 kB / 1.106 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.7795, allocations: 1.734 kB / 1.106 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.7796, allocations: 36.02 kB / 1.106 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.507e-06/0.7796, allocations: 0 / 1.106 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003001/0.7799, allocations: 62.05 kB / 1.106 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.78, allocations: 78.2 kB / 1.106 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.7802, allocations: 168.1 kB / 1.107 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.7803, allocations: 25.7 kB / 1.107 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.7804, allocations: 104.2 kB / 1.107 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.7804, allocations: 9.906 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.7804, allocations: 0.6875 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.7805, allocations: 327.9 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.7806, allocations: 5.188 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.7807, allocations: 19.64 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.7807, allocations: 9.531 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7808, allocations: 0.6562 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002089/0.781, allocations: 65.7 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.781, allocations: 7.844 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.781, allocations: 2.219 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.7811, allocations: 0 / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.7812, allocations: 7.375 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7813, allocations: 0.6562 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.7814, allocations: 12.25 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.7814, allocations: 1.531 kB / 1.107 GB, free: 203.6 MB / 0.7136 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.0001089/0.7815, allocations: 121.6 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.7816, allocations: 12.34 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.7817, allocations: 13.95 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7817, allocations: 1.031 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7817, allocations: 0 / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.7818, allocations: 1.75 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.7825, allocations: 478.9 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.7825, allocations: 0 / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.7826, allocations: 8.281 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.7826, allocations: 3.938 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7826, allocations: 5.266 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.7826, allocations: 0 / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7826, allocations: 1.406 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.7828, allocations: 88.69 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.7829, allocations: 86.34 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.7829, allocations: 5.734 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.783, allocations: 4.281 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.783, allocations: 6.188 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.7831, allocations: 1 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001717/0.7832, allocations: 126.2 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7833, allocations: 1.531 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004588/0.7837, allocations: 11.22 kB / 1.108 GB, free: 202.7 MB / 0.7136 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.0004264/0.7842, allocations: 0.621 MB / 1.109 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.7843, allocations: 21.2 kB / 1.109 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7844, allocations: 0.9375 kB / 1.109 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.7844, allocations: 6.594 kB / 1.109 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.7847, allocations: 10.97 kB / 1.109 GB, free: 202.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.7863, allocations: 0.5956 MB / 1.109 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.7866, allocations: 0.7026 MB / 1.11 GB, free: 201 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.288e-05/0.7867, allocations: 7.578 kB / 1.11 GB, free: 201 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.7868, allocations: 20.44 kB / 1.11 GB, free: 200.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/0.7868, allocations: 5.094 kB / 1.11 GB, free: 200.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.8123, allocations: 1.591 MB / 1.112 GB, free: 200.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/0.8127, allocations: 200.1 kB / 1.112 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.4, allocations: 0 / 1.112 GB, free: 200.7 MB / 0.7136 GB