Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004203/0.004209, allocations: 232.2 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001127/0.001127, allocations: 177.9 kB / 16.71 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.764/3.764, allocations: 389 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.684/3.684, allocations: 472.3 MB / 0.9024 GB, free: 18.76 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004702, allocations: 12.78 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 98.7 MB / 1.105 GB, free: 10.73 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7516/0.9559, allocations: 125.5 MB / 1.227 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.9562, allocations: 81.69 kB / 1.227 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02076/0.977, allocations: 4.499 MB / 1.232 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9771, allocations: 0.7812 kB / 1.232 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.9771, allocations: 0 / 1.232 GB, free: 15.54 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000447/0.9775, allocations: 345.9 kB / 1.232 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.9776, allocations: 12.73 kB / 1.232 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.9776, allocations: 11.12 kB / 1.232 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.9778, allocations: 166.3 kB / 1.232 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.9778, allocations: 8.344 kB / 1.232 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.9778, allocations: 4 kB / 1.232 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.978, allocations: 50.88 kB / 1.232 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.978, allocations: 0 / 1.232 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.9781, allocations: 4.562 kB / 1.232 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9781, allocations: 0 / 1.232 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.9781, allocations: 15.42 kB / 1.232 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.9784, allocations: 177 kB / 1.232 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.9785, allocations: 64.45 kB / 1.232 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.9786, allocations: 30.12 kB / 1.232 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.9787, allocations: 9.938 kB / 1.232 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.9787, allocations: 30.56 kB / 1.233 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.9787, allocations: 5.438 kB / 1.233 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001517/0.9802, allocations: 0.5747 MB / 1.233 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.9803, allocations: 58.78 kB / 1.233 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.9804, allocations: 97.75 kB / 1.233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.9804, allocations: 33.45 kB / 1.233 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.9805, allocations: 84.12 kB / 1.233 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.9805, allocations: 39.08 kB / 1.233 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.9806, allocations: 3.5 kB / 1.233 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.9807, allocations: 321.5 kB / 1.234 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.9808, allocations: 19.44 kB / 1.234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.9809, allocations: 27.17 kB / 1.234 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.9809, allocations: 18.88 kB / 1.234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.981, allocations: 0 / 1.234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002307/0.9812, allocations: 97.53 kB / 1.234 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.9812, allocations: 11.98 kB / 1.234 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9813, allocations: 0 / 1.234 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.9813, allocations: 4 kB / 1.234 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.9815, allocations: 19.69 kB / 1.234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.9815, allocations: 4 kB / 1.234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.9815, allocations: 3.953 kB / 1.234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.9816, allocations: 0 / 1.234 GB, free: 13.11 MB / 0.6198 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001044/0.9817, allocations: 124.3 kB / 1.234 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.9817, allocations: 11.28 kB / 1.234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.982, allocations: 99.52 kB / 1.234 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.982, allocations: 4 kB / 1.234 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.982, allocations: 4 kB / 1.234 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.9821, allocations: 3.984 kB / 1.234 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.9826, allocations: 346.5 kB / 1.234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9826, allocations: 0 / 1.234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.9828, allocations: 27.98 kB / 1.234 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.9829, allocations: 0 / 1.234 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.9829, allocations: 0 / 1.234 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.9829, allocations: 0 / 1.234 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.9829, allocations: 7.953 kB / 1.234 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.9833, allocations: 223.8 kB / 1.235 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.9833, allocations: 77.11 kB / 1.235 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.9834, allocations: 3.312 kB / 1.235 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.9835, allocations: 4.031 kB / 1.235 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.9835, allocations: 11.92 kB / 1.235 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.9836, allocations: 7.953 kB / 1.235 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.9836, allocations: 79.34 kB / 1.235 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9836, allocations: 0 / 1.235 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004064/0.984, allocations: 47.48 kB / 1.235 GB, free: 12.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003008/0.9843, allocations: 150.7 kB / 1.235 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.9846, allocations: 60.92 kB / 1.235 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9846, allocations: 0 / 1.235 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.9847, allocations: 39.73 kB / 1.235 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.985, allocations: 5.578 kB / 1.235 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.9858, allocations: 340.5 kB / 1.235 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.9861, allocations: 0.6926 MB / 1.236 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.769e-05/0.9862, allocations: 19.22 kB / 1.236 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.9862, allocations: 11.44 kB / 1.236 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of SimCode: time 1.153e-06/0.9862, allocations: 0 / 1.236 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.004437/0.9907, allocations: 0.9042 MB / 1.237 GB, free: 9.875 MB / 0.6198 GB