Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.032/4.032, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.229e-05, allocations: 3.906 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1776, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.3757, allocations: 124.2 MB / 0.756 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.376, allocations: 67.95 kB / 0.7561 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00396/0.38, allocations: 1.169 MB / 0.7572 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3801, allocations: 0 / 0.7572 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.913e-06/0.3801, allocations: 0 / 0.7572 GB, free: 4.281 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.0003901/0.3805, allocations: 358.3 kB / 0.7576 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3805, allocations: 12.03 kB / 0.7576 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3806, allocations: 11.86 kB / 0.7576 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3808, allocations: 186.8 kB / 0.7578 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3808, allocations: 4 kB / 0.7578 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3809, allocations: 8 kB / 0.7578 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3811, allocations: 93.22 kB / 0.7579 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.174e-06/0.3811, allocations: 4 kB / 0.7579 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3811, allocations: 0 / 0.7579 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3811, allocations: 7.984 kB / 0.7579 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3813, allocations: 35.94 kB / 0.7579 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.382, allocations: 460.5 kB / 0.7584 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.3821, allocations: 41.34 kB / 0.7584 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.3821, allocations: 15.53 kB / 0.7584 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.947e-06/0.3822, allocations: 0 / 0.7584 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3822, allocations: 38.56 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.3822, allocations: 0 / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.3824, allocations: 57.52 kB / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.3825, allocations: 81.11 kB / 0.7586 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3827, allocations: 148.8 kB / 0.7587 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3827, allocations: 29.7 kB / 0.7587 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.3828, allocations: 107.9 kB / 0.7589 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.3829, allocations: 12.19 kB / 0.7589 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-06/0.3829, allocations: 0 / 0.7589 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3831, allocations: 330.7 kB / 0.7592 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.3831, allocations: 4 kB / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.3832, allocations: 21.66 kB / 0.7592 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.3832, allocations: 15.98 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-06/0.3832, allocations: 0 / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.3834, allocations: 61.61 kB / 0.7593 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3834, allocations: 4 kB / 0.7593 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.894e-06/0.3834, allocations: 0 / 0.7593 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3834, allocations: 4 kB / 0.7593 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.3835, allocations: 11.92 kB / 0.7593 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.478e-06/0.3835, allocations: 0 / 0.7593 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.3836, allocations: 7.938 kB / 0.7593 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-06/0.3836, allocations: 0 / 0.7593 GB, free: 1.906 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 8.776e-05/0.3837, allocations: 113 kB / 0.7594 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.3838, allocations: 15.81 kB / 0.7594 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.3839, allocations: 4.562 kB / 0.7594 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.401e-06/0.3839, allocations: 7.984 kB / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.327e-06/0.3839, allocations: 0 / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-06/0.3839, allocations: 0 / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.3845, allocations: 478.8 kB / 0.7599 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-06/0.3845, allocations: 4.062 kB / 0.7599 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.3846, allocations: 7.984 kB / 0.7599 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.515e-06/0.3846, allocations: 3.938 kB / 0.7599 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.166e-06/0.3846, allocations: 0 / 0.7599 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.524e-06/0.3846, allocations: 0 / 0.7599 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.737e-06/0.3847, allocations: 4 kB / 0.7599 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3848, allocations: 95.52 kB / 0.76 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.3849, allocations: 89 kB / 0.7601 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.3849, allocations: 4 kB / 0.7601 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.385, allocations: 0 / 0.7601 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.385, allocations: 8 kB / 0.7601 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-06/0.385, allocations: 0 / 0.7601 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000139/0.3852, allocations: 125.8 kB / 0.7602 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.83e-07/0.3852, allocations: 0 / 0.7602 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000267/0.3855, allocations: 16 kB / 0.7602 GB, free: 0.832 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.0001447/0.3856, allocations: 104.2 kB / 0.7603 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3857, allocations: 23.88 kB / 0.7604 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.668e-06/0.3858, allocations: 4 kB / 0.7604 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/0.3858, allocations: 8 kB / 0.7604 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.3859, allocations: 0 / 0.7604 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.3863, allocations: 122.1 kB / 0.7605 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3867, allocations: 0.6965 MB / 0.7612 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.3867, allocations: 12.36 kB / 0.7612 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.3868, allocations: 11.44 kB / 0.7612 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.549e-06/0.3868, allocations: 0 / 0.7612 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.003154/0.3899, allocations: 452.9 kB / 0.7616 GB, free: 15.36 MB / 0.6511 GB