Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadModel(Buildings): time 4.08/4.08, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.044e-05, allocations: 5.203 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1787, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.3772, allocations: 125.1 MB / 0.7569 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.3774, allocations: 75.94 kB / 0.757 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.3905, allocations: 2.827 MB / 0.7598 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.839e-06/0.3906, allocations: 0 / 0.7598 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.988e-06/0.3906, allocations: 0 / 0.7598 GB, free: 1.703 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003717/0.391, allocations: 342.4 kB / 0.7601 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.391, allocations: 8.031 kB / 0.7601 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.3911, allocations: 7.938 kB / 0.7601 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3912, allocations: 163.1 kB / 0.7603 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3913, allocations: 4 kB / 0.7603 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.87e-05/0.3913, allocations: 3.938 kB / 0.7603 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.3914, allocations: 45.67 kB / 0.7603 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-06/0.3914, allocations: 0 / 0.7603 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3914, allocations: 4 kB / 0.7603 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3915, allocations: 4 kB / 0.7603 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.3915, allocations: 7.938 kB / 0.7603 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.3917, allocations: 165.6 kB / 0.7605 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3919, allocations: 38.61 kB / 0.7605 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.392, allocations: 16.86 kB / 0.7605 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.392, allocations: 0 / 0.7605 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3921, allocations: 38.56 kB / 0.7606 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.297e-06/0.3921, allocations: 0 / 0.7606 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006828/0.3928, allocations: 310.1 kB / 0.7609 GB, free: 364 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3928, allocations: 51.41 kB / 0.7609 GB, free: 300 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.3929, allocations: 93 kB / 0.761 GB, free: 200 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.393, allocations: 25.7 kB / 0.761 GB, free: 168 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.393, allocations: 80.14 kB / 0.7611 GB, free: 84 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3931, allocations: 23.8 kB / 0.7611 GB, free: 60 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-06/0.3931, allocations: 0 / 0.7611 GB, free: 60 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3933, allocations: 318.8 kB / 0.7614 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.3933, allocations: 8 kB / 0.7614 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.3934, allocations: 15.98 kB / 0.7615 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.3934, allocations: 12 kB / 0.7615 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3934, allocations: 0 / 0.7615 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001456/0.3936, allocations: 65.59 kB / 0.7615 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3936, allocations: 4 kB / 0.7615 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3936, allocations: 7.938 kB / 0.7615 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3937, allocations: 0 / 0.7615 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.3937, allocations: 15.98 kB / 0.7616 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.18e-06/0.3938, allocations: 0 / 0.7616 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.3938, allocations: 0 / 0.7616 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3938, allocations: 4 kB / 0.7616 GB, free: 15.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.558e-05/0.3939, allocations: 111.2 kB / 0.7617 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.3939, allocations: 0 / 0.7617 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3941, allocations: 85.58 kB / 0.7617 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-06/0.3942, allocations: 4.125 kB / 0.7617 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.305e-06/0.3942, allocations: 8.312 kB / 0.7618 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-06/0.3942, allocations: 0 / 0.7618 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.3946, allocations: 311.4 kB / 0.7621 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-06/0.3946, allocations: 0 / 0.7621 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/0.3947, allocations: 15.92 kB / 0.7621 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.224e-06/0.3947, allocations: 3.984 kB / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3948, allocations: 4 kB / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.551e-06/0.3948, allocations: 0 / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3948, allocations: 4.031 kB / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.3951, allocations: 190 kB / 0.7623 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3951, allocations: 81.09 kB / 0.7623 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3952, allocations: 4.031 kB / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.3953, allocations: 0 / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3953, allocations: 19.95 kB / 0.7624 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-06/0.3953, allocations: 0 / 0.7624 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.3954, allocations: 83.27 kB / 0.7624 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.7e-07/0.3954, allocations: 0 / 0.7624 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003451/0.3958, allocations: 24 kB / 0.7625 GB, free: 14.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002215/0.396, allocations: 131.2 kB / 0.7626 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.3961, allocations: 28 kB / 0.7626 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.602e-06/0.3961, allocations: 3.938 kB / 0.7626 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.3962, allocations: 20 kB / 0.7626 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.3964, allocations: 7.984 kB / 0.7626 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.3968, allocations: 138.3 kB / 0.7628 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3971, allocations: 0.6848 MB / 0.7634 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.3972, allocations: 15.88 kB / 0.7635 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.3972, allocations: 11.44 kB / 0.7635 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.481e-06/0.3973, allocations: 0 / 0.7635 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.00333/0.4006, allocations: 0.5906 MB / 0.764 GB, free: 12.88 MB / 0.6511 GB