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_DerivativeCheck.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01562/0.01562, allocations: 106.9 kB / 15.05 MB, free: 5.988 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.001237/0.001237, allocations: 181 kB / 15.94 MB, free: 5.941 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 2.04/2.04, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.378/2.378, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007079/0.0007077, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.6832, allocations: 98.7 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/0.9245, allocations: 125.3 MB / 0.8058 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003943/0.925, allocations: 79.95 kB / 0.8059 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02607/0.951, allocations: 3.99 MB / 0.8098 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9511, allocations: 0 / 0.8098 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9511, allocations: 4 kB / 0.8098 GB, free: 12.89 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.0005152/0.9517, allocations: 351.3 kB / 0.8101 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.9517, allocations: 8.031 kB / 0.8101 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.9518, allocations: 30.56 kB / 0.8102 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.9518, allocations: 11.95 kB / 0.8102 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.952, allocations: 167 kB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.9521, allocations: 0 / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.9521, allocations: 15.88 kB / 0.8104 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.9523, allocations: 37.64 kB / 0.8104 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9523, allocations: 0 / 0.8104 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.9523, allocations: 4 kB / 0.8104 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.9523, allocations: 7.922 kB / 0.8104 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.9524, allocations: 11.95 kB / 0.8104 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.9527, allocations: 157.7 kB / 0.8106 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.953, allocations: 42.61 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.953, allocations: 0 / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.9531, allocations: 38.5 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.9531, allocations: 0 / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0009355/0.954, allocations: 310.4 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.9541, allocations: 55.41 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.9542, allocations: 93 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.9542, allocations: 25.7 kB / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.9543, allocations: 80.14 kB / 0.8112 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.9544, allocations: 27.64 kB / 0.8112 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.9544, allocations: 0 / 0.8112 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.9546, allocations: 318.8 kB / 0.8115 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.9546, allocations: 11.98 kB / 0.8115 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.9547, allocations: 11.98 kB / 0.8115 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.9548, allocations: 16 kB / 0.8115 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.9548, allocations: 0 / 0.8115 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000209/0.955, allocations: 69.62 kB / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.955, allocations: 5.25 kB / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9551, allocations: 0 / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.9551, allocations: 0 / 0.8116 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9552, allocations: 12 kB / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9552, allocations: 0 / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.9553, allocations: 0 / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.9553, allocations: 0 / 0.8116 GB, free: 10.75 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 () * Number of clocked 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.000121/0.9554, allocations: 125.8 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.9555, allocations: 3.938 kB / 0.8118 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.9557, allocations: 77.5 kB / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9558, allocations: 0 / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9558, allocations: 0.5156 kB / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.9558, allocations: 0 / 0.8118 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.9563, allocations: 315.4 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9564, allocations: 4.031 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.9565, allocations: 16 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9565, allocations: 3.938 kB / 0.8122 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.9566, allocations: 0 / 0.8122 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.9566, allocations: 4 kB / 0.8122 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9566, allocations: 0 / 0.8122 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.9569, allocations: 202.2 kB / 0.8123 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.957, allocations: 85.05 kB / 0.8124 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.9571, allocations: 3.984 kB / 0.8124 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.9573, allocations: 4 kB / 0.8124 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.9573, allocations: 7.953 kB / 0.8124 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.9573, allocations: 0 / 0.8124 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.9574, allocations: 79.28 kB / 0.8125 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9574, allocations: 0 / 0.8125 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006088/0.958, allocations: 31.98 kB / 0.8126 GB, free: 9.676 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 () * Number of clocked 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.0008998/0.9589, allocations: 0.8228 MB / 0.8134 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.9591, allocations: 27.98 kB / 0.8134 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9592, allocations: 4 kB / 0.8134 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.278e-05/0.9592, allocations: 20 kB / 0.8134 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.9595, allocations: 7.953 kB / 0.8134 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.9609, allocations: 0.4921 MB / 0.8139 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.9613, allocations: 0.6848 MB / 0.8146 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.247e-05/0.9614, allocations: 7.984 kB / 0.8146 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.9614, allocations: 15.5 kB / 0.8146 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/0.9615, allocations: 0 / 0.8146 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.9888, allocations: 1.35 MB / 0.8159 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003699/0.9893, allocations: 223.3 kB / 0.8161 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.328, allocations: 0 / 0.8161 GB, free: 6.062 MB / 0.6355 GB