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.From_BtuPerHour.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.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadModel(Buildings): time 4.42/4.42, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.229e-05, allocations: 5.797 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1773, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.3739, allocations: 124.2 MB / 0.756 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.3742, allocations: 59.97 kB / 0.7561 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003992/0.3782, allocations: 1.177 MB / 0.7572 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.976e-06/0.3783, allocations: 0 / 0.7572 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3783, allocations: 4 kB / 0.7572 GB, free: 4.305 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.0004005/0.3787, allocations: 356.2 kB / 0.7576 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3788, allocations: 8.031 kB / 0.7576 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.3788, allocations: 15.86 kB / 0.7576 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.379, allocations: 178.8 kB / 0.7578 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.379, allocations: 8 kB / 0.7578 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3791, allocations: 8 kB / 0.7578 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3793, allocations: 87.39 kB / 0.7579 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.473e-06/0.3793, allocations: 0 / 0.7579 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3793, allocations: 12 kB / 0.7579 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-06/0.3793, allocations: 0 / 0.7579 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3795, allocations: 43.94 kB / 0.7579 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.3802, allocations: 460.5 kB / 0.7584 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.3803, allocations: 37.28 kB / 0.7584 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.3804, allocations: 19.59 kB / 0.7584 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.201e-06/0.3804, allocations: 0 / 0.7584 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3805, allocations: 34.56 kB / 0.7584 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.966e-06/0.3805, allocations: 4 kB / 0.7584 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001966/0.3807, allocations: 49.55 kB / 0.7585 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.3807, allocations: 77.11 kB / 0.7586 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.381, allocations: 161.5 kB / 0.7587 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.381, allocations: 25.7 kB / 0.7587 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.3811, allocations: 107.9 kB / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.3811, allocations: 12.06 kB / 0.7589 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.3812, allocations: 64 / 0.7589 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3813, allocations: 330.7 kB / 0.7592 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.3814, allocations: 8 kB / 0.7592 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.3814, allocations: 25.66 kB / 0.7592 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.3815, allocations: 8 kB / 0.7592 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-06/0.3815, allocations: 0 / 0.7592 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001401/0.3817, allocations: 61.66 kB / 0.7593 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3817, allocations: 12 kB / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3817, allocations: 0 / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3817, allocations: 0 / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.3818, allocations: 7.938 kB / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.719e-06/0.3818, allocations: 4 kB / 0.7593 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.3819, allocations: 3.938 kB / 0.7593 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3819, allocations: 4 kB / 0.7593 GB, free: 1.934 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.71e-05/0.382, allocations: 108.9 kB / 0.7594 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.3821, allocations: 11.81 kB / 0.7594 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.3822, allocations: 16.56 kB / 0.7594 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-06/0.3822, allocations: 96 / 0.7594 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.801e-06/0.3822, allocations: 3.984 kB / 0.7594 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-06/0.3822, allocations: 0 / 0.7594 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.3828, allocations: 478.8 kB / 0.7599 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-06/0.3828, allocations: 0 / 0.7599 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.3829, allocations: 4 kB / 0.7599 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.3829, allocations: 4.062 kB / 0.7599 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3829, allocations: 8 kB / 0.7599 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3829, allocations: 0 / 0.7599 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.23e-06/0.3829, allocations: 0 / 0.7599 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.3831, allocations: 95.5 kB / 0.76 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.3832, allocations: 89 kB / 0.7601 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3832, allocations: 8.031 kB / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.3833, allocations: 0 / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.3833, allocations: 0 / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-06/0.3833, allocations: 0 / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001487/0.3834, allocations: 133.8 kB / 0.7602 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.85e-07/0.3835, allocations: 0 / 0.7602 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002631/0.3837, allocations: 8 kB / 0.7602 GB, free: 0.8672 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.0001402/0.3839, allocations: 103.2 kB / 0.7603 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.724e-05/0.384, allocations: 27.88 kB / 0.7604 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.384, allocations: 0 / 0.7604 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.384, allocations: 4 kB / 0.7604 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3842, allocations: 15.92 kB / 0.7604 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.3845, allocations: 109.9 kB / 0.7605 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3849, allocations: 0.7085 MB / 0.7612 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.385, allocations: 8.375 kB / 0.7612 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.385, allocations: 11.44 kB / 0.7612 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.386e-06/0.385, allocations: 0 / 0.7612 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.003088/0.3881, allocations: 460.8 kB / 0.7616 GB, free: 15.38 MB / 0.6511 GB