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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.986/3.986, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.563e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.585/0.5851, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.779, allocations: 124.6 MB / 0.7506 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.7793, allocations: 71.95 kB / 0.7506 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.7972, allocations: 3.99 MB / 0.7545 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.999e-06/0.7972, allocations: 0 / 0.7545 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.91e-06/0.7972, allocations: 0 / 0.7545 GB, free: 14.93 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.0003965/0.7976, allocations: 342.4 kB / 0.7549 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.7977, allocations: 16.02 kB / 0.7549 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.7977, allocations: 3.953 kB / 0.7549 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.7979, allocations: 159.1 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.7979, allocations: 8 kB / 0.755 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.7979, allocations: 4 kB / 0.755 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.75e-05/0.798, allocations: 15.94 kB / 0.7551 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.7981, allocations: 37.69 kB / 0.7551 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.372e-06/0.7981, allocations: 0 / 0.7551 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-06/0.7982, allocations: 0 / 0.7551 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-06/0.7982, allocations: 3.953 kB / 0.7551 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.7984, allocations: 134.2 kB / 0.7552 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.7986, allocations: 38.72 kB / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.7986, allocations: 24.84 kB / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.7987, allocations: 0 / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.7987, allocations: 38.5 kB / 0.7553 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.004e-06/0.7987, allocations: 0 / 0.7553 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006276/0.7994, allocations: 282.2 kB / 0.7556 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.7994, allocations: 51.41 kB / 0.7556 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.7995, allocations: 96.94 kB / 0.7557 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.7996, allocations: 25.7 kB / 0.7558 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.7996, allocations: 84.12 kB / 0.7558 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.7997, allocations: 19.75 kB / 0.7559 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-06/0.7997, allocations: 0 / 0.7559 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7999, allocations: 314.8 kB / 0.7562 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.7999, allocations: 12 kB / 0.7562 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.7999, allocations: 8 kB / 0.7562 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.8, allocations: 15.98 kB / 0.7562 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-06/0.8, allocations: 4 kB / 0.7562 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001418/0.8002, allocations: 65.72 kB / 0.7563 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8002, allocations: 4 kB / 0.7563 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-06/0.8002, allocations: 0 / 0.7563 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8002, allocations: 0 / 0.7563 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.8003, allocations: 12 kB / 0.7563 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.511e-06/0.8003, allocations: 3.938 kB / 0.7563 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.8004, allocations: 0 / 0.7563 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.8004, allocations: 4 kB / 0.7563 GB, free: 12.89 MB / 0.6355 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 9.974e-05/0.8005, allocations: 108.9 kB / 0.7564 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.8005, allocations: 7.938 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.8007, allocations: 66.09 kB / 0.7564 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.689e-06/0.8007, allocations: 0 / 0.7564 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.8007, allocations: 4 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-06/0.8007, allocations: 0 / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.8011, allocations: 283.9 kB / 0.7567 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-06/0.8012, allocations: 0 / 0.7567 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.8013, allocations: 15.98 kB / 0.7567 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.312e-06/0.8013, allocations: 4.219 kB / 0.7567 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.8013, allocations: 4 kB / 0.7567 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.463e-06/0.8013, allocations: 0 / 0.7567 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.787e-06/0.8013, allocations: 4 kB / 0.7568 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.8016, allocations: 186 kB / 0.7569 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.8017, allocations: 85.09 kB / 0.757 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.8017, allocations: 4.062 kB / 0.757 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.8018, allocations: 7.938 kB / 0.757 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.8018, allocations: 0 / 0.757 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.8019, allocations: 7.984 kB / 0.757 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.8019, allocations: 79.23 kB / 0.7571 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/0.8019, allocations: 0 / 0.7571 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003574/0.8023, allocations: 24 kB / 0.7571 GB, free: 11.92 MB / 0.6355 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.0002286/0.8025, allocations: 123.2 kB / 0.7572 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.8027, allocations: 39.92 kB / 0.7573 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8027, allocations: 0 / 0.7573 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.8027, allocations: 16 kB / 0.7573 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.8029, allocations: 0 / 0.7573 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.8033, allocations: 145.5 kB / 0.7574 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.8037, allocations: 0.6846 MB / 0.7581 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.8038, allocations: 4 kB / 0.7581 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.8038, allocations: 19.38 kB / 0.7581 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of SimCode: time 1.662e-06/0.8038, allocations: 0 / 0.7581 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.003229/0.8071, allocations: 0.571 MB / 0.7587 GB, free: 10.27 MB / 0.6355 GB