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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009401/0.009405, allocations: 108 kB / 15.06 MB, free: 5.566 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.001161/0.001161, allocations: 184 kB / 15.95 MB, free: 5.523 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.069/2.069, allocations: 194.6 MB / 211.3 MB, free: 11.15 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.426/2.426, allocations: 236.2 MB / 492.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004747, allocations: 16 kB / 0.5869 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5489, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0009536/0.5499, allocations: 0.5537 MB / 0.6839 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001244/0.5501, allocations: 47.03 kB / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.5502, allocations: 1.375 kB / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.5502, allocations: 5.578 kB / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.5503, allocations: 15.12 kB / 0.6839 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.578e-05/0.5504, allocations: 14.2 kB / 0.684 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.5505, allocations: 39.95 kB / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.5506, allocations: 37.41 kB / 0.684 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.5507, allocations: 19.78 kB / 0.684 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.5508, allocations: 17.56 kB / 0.6841 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.5508, allocations: 2 kB / 0.6841 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-06/0.5508, allocations: 2.125 kB / 0.6841 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.5508, allocations: 12.23 kB / 0.6841 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.5509, allocations: 40.95 kB / 0.6841 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.869e-05/0.551, allocations: 54.92 kB / 0.6842 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.551, allocations: 0 / 0.6842 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.03e-06/0.551, allocations: 0.9062 kB / 0.6842 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.636e-06/0.551, allocations: 0 / 0.6842 GB, free: 16.18 MB / 0.5261 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.0003405/0.5514, allocations: 372.3 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5514, allocations: 13.94 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.5515, allocations: 11.94 kB / 0.6846 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.5517, allocations: 194.3 kB / 0.6847 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5517, allocations: 11.34 kB / 0.6847 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.5517, allocations: 8.469 kB / 0.6848 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.5519, allocations: 98.38 kB / 0.6848 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5519, allocations: 5.812 kB / 0.6849 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.552, allocations: 5.312 kB / 0.6849 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.244e-06/0.552, allocations: 1.281 kB / 0.6849 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.5521, allocations: 41.02 kB / 0.6849 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.5527, allocations: 449.1 kB / 0.6853 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.5527, allocations: 38.52 kB / 0.6854 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5528, allocations: 0 / 0.6854 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.5528, allocations: 40.8 kB / 0.6854 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.839e-06/0.5528, allocations: 0 / 0.6854 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002013/0.553, allocations: 59.73 kB / 0.6855 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.5531, allocations: 81.05 kB / 0.6855 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5532, allocations: 164.8 kB / 0.6857 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.5532, allocations: 29.7 kB / 0.6857 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.5533, allocations: 106.1 kB / 0.6858 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.5533, allocations: 8.891 kB / 0.6858 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-06/0.5533, allocations: 1.156 kB / 0.6858 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.5534, allocations: 319.9 kB / 0.6861 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.5534, allocations: 3.953 kB / 0.6861 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.5535, allocations: 21.91 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.5535, allocations: 12.91 kB / 0.6862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5536, allocations: 7.953 kB / 0.6862 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001233/0.5537, allocations: 58.97 kB / 0.6862 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5537, allocations: 5.531 kB / 0.6862 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5537, allocations: 0 / 0.6862 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5538, allocations: 1.094 kB / 0.6862 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.5539, allocations: 6.078 kB / 0.6863 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.519e-06/0.5539, allocations: 5.969 kB / 0.6863 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.5539, allocations: 10.47 kB / 0.6863 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-06/0.554, allocations: 1.281 kB / 0.6863 GB, free: 14.14 MB / 0.5261 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 7.893e-05/0.554, allocations: 119 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.5541, allocations: 12.08 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.5542, allocations: 13.98 kB / 0.6864 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.5542, allocations: 1.219 kB / 0.6864 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.737e-06/0.5542, allocations: 0 / 0.6864 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-06/0.5542, allocations: 2.203 kB / 0.6864 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.5547, allocations: 479 kB / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-06/0.5547, allocations: 0.7031 kB / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.5547, allocations: 4.891 kB / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.635e-06/0.5548, allocations: 0 / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-06/0.5548, allocations: 1.031 kB / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.492e-06/0.5548, allocations: 4.547 kB / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.674e-06/0.5548, allocations: 1.156 kB / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.5549, allocations: 99.86 kB / 0.687 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.555, allocations: 94.84 kB / 0.6871 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.555, allocations: 5.125 kB / 0.6871 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.5551, allocations: 5.844 kB / 0.6871 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.5551, allocations: 1.188 kB / 0.6871 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-06/0.5551, allocations: 1.781 kB / 0.6871 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001094/0.5552, allocations: 128.4 kB / 0.6872 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.92e-07/0.5552, allocations: 0 / 0.6872 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002744/0.5555, allocations: 11.88 kB / 0.6872 GB, free: 13.2 MB / 0.5261 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.0001174/0.5556, allocations: 104 kB / 0.6873 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.5558, allocations: 19.84 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.01e-06/0.5558, allocations: 0 / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.5558, allocations: 9.406 kB / 0.6873 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.556, allocations: 7.688 kB / 0.6873 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.5563, allocations: 195 kB / 0.6875 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.5565, allocations: 0.7027 MB / 0.6882 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.42e-05/0.5566, allocations: 7.266 kB / 0.6882 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.5566, allocations: 11.56 kB / 0.6882 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of SimCode: time 2.247e-06/0.5566, allocations: 0 / 0.6882 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.00303/0.5597, allocations: 446.3 kB / 0.6887 GB, free: 12.13 MB / 0.5261 GB