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_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadModel(Buildings): time 3.95/3.95, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.123e-05, allocations: 4.031 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 98.72 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.3806, allocations: 125.2 MB / 0.757 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004601/0.3812, allocations: 79.94 kB / 0.7571 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03167/0.4129, allocations: 3.996 MB / 0.761 GB, free: 444 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.866e-06/0.413, allocations: 4 kB / 0.761 GB, free: 440 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.413, allocations: 0 / 0.761 GB, free: 440 kB / 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.0005848/0.4136, allocations: 342.4 kB / 0.7613 GB, free: 52 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.4137, allocations: 11.97 kB / 0.7613 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.4138, allocations: 7.953 kB / 0.7613 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.414, allocations: 167 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.4141, allocations: 4 kB / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4141, allocations: 0 / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4143, allocations: 49.62 kB / 0.7616 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4144, allocations: 0 / 0.7616 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.4144, allocations: 0 / 0.7616 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.4144, allocations: 0 / 0.7616 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.4145, allocations: 15.92 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.4149, allocations: 165.6 kB / 0.7617 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.4152, allocations: 46.61 kB / 0.7618 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.4154, allocations: 16.86 kB / 0.7618 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.4154, allocations: 0 / 0.7618 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4155, allocations: 34.5 kB / 0.7618 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 3.196e-06/0.4155, allocations: 4 kB / 0.7618 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.001137/0.4167, allocations: 294.3 kB / 0.7621 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.4168, allocations: 59.41 kB / 0.7622 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4169, allocations: 89 kB / 0.7622 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.417, allocations: 25.7 kB / 0.7623 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.4171, allocations: 80.14 kB / 0.7623 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.4171, allocations: 23.73 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-06/0.4172, allocations: 0 / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.4174, allocations: 318.8 kB / 0.7627 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.4175, allocations: 11.98 kB / 0.7627 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.4176, allocations: 16 kB / 0.7627 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.4177, allocations: 15.98 kB / 0.7627 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-06/0.4177, allocations: 0 / 0.7627 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002835/0.418, allocations: 69.69 kB / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.4181, allocations: 10.33 kB / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.603e-06/0.4181, allocations: 0 / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4181, allocations: 0 / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4183, allocations: 12 kB / 0.7628 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4183, allocations: 0 / 0.7628 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.4184, allocations: 0 / 0.7628 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.4184, allocations: 4 kB / 0.7628 GB, free: 14.32 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 0.0001336/0.4186, allocations: 112.9 kB / 0.7629 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.4186, allocations: 0 / 0.7629 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.4189, allocations: 81.64 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.757e-06/0.419, allocations: 0 / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-06/0.419, allocations: 0 / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.419, allocations: 0 / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.4197, allocations: 311.4 kB / 0.7633 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.4198, allocations: 8.031 kB / 0.7633 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.42, allocations: 12.17 kB / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.42, allocations: 7.938 kB / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.42, allocations: 4 kB / 0.7633 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4201, allocations: 0 / 0.7633 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.204e-06/0.4201, allocations: 0 / 0.7633 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.4205, allocations: 197.9 kB / 0.7635 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4207, allocations: 81.47 kB / 0.7636 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4207, allocations: 4.031 kB / 0.7636 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.4209, allocations: 0 / 0.7636 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.421, allocations: 11.94 kB / 0.7636 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.4211, allocations: 7.984 kB / 0.7636 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.198e-05/0.4212, allocations: 79.28 kB / 0.7637 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.164e-06/0.4212, allocations: 0 / 0.7637 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000774/0.422, allocations: 23.94 kB / 0.7637 GB, free: 13.28 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0003909/0.4224, allocations: 139.3 kB / 0.7638 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.4226, allocations: 31.94 kB / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4226, allocations: 0 / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.4227, allocations: 12 kB / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.4231, allocations: 9.828 kB / 0.7639 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.4238, allocations: 154.1 kB / 0.764 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.4244, allocations: 0.6809 MB / 0.7647 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.662e-05/0.4245, allocations: 4 kB / 0.7647 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.4245, allocations: 15.38 kB / 0.7647 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of SimCode: time 5.704e-06/0.4246, allocations: 0 / 0.7647 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.005549/0.4301, allocations: 0.5853 MB / 0.7653 GB, free: 11.6 MB / 0.6511 GB