Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01477/0.01477, allocations: 88.36 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001946/0.001946, allocations: 170.2 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.096/2.096, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.377/2.377, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006405, allocations: 15.84 kB / 0.6243 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2231, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00161/0.2247, allocations: 0.9919 MB / 0.729 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008545/0.2256, allocations: 344.8 kB / 0.7294 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.2257, allocations: 0 / 0.7294 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.2257, allocations: 3.984 kB / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.2258, allocations: 0 / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.2262, allocations: 67.78 kB / 0.7294 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.2263, allocations: 19.97 kB / 0.7295 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.2264, allocations: 0 / 0.7295 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.2264, allocations: 11.92 kB / 0.7295 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.2265, allocations: 7.984 kB / 0.7295 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2265, allocations: 4 kB / 0.7295 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.2269, allocations: 179.7 kB / 0.7297 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.227, allocations: 4 kB / 0.7297 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.227, allocations: 29.64 kB / 0.7297 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2272, allocations: 56.16 kB / 0.7297 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2272, allocations: 0 / 0.7297 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2272, allocations: 7.938 kB / 0.7297 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2272, allocations: 0 / 0.7297 GB, free: 8.414 MB / 0.5573 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.0004269/0.2277, allocations: 335.3 kB / 0.7301 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2277, allocations: 8.031 kB / 0.7301 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.2278, allocations: 38.56 kB / 0.7301 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.2278, allocations: 4 kB / 0.7301 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2279, allocations: 163 kB / 0.7303 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.228, allocations: 4 kB / 0.7303 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.228, allocations: 3.906 kB / 0.7303 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2281, allocations: 41.69 kB / 0.7303 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2281, allocations: 0 / 0.7303 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2282, allocations: 0 / 0.7303 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2282, allocations: 3.938 kB / 0.7303 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.58e-05/0.2282, allocations: 15.92 kB / 0.7303 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.2285, allocations: 165.7 kB / 0.7305 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.2287, allocations: 38.56 kB / 0.7305 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.2287, allocations: 3.984 kB / 0.7305 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2288, allocations: 38.56 kB / 0.7306 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.2288, allocations: 0 / 0.7306 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0007977/0.2296, allocations: 319.3 kB / 0.7309 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.2297, allocations: 51.41 kB / 0.7309 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.2297, allocations: 101.8 kB / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2298, allocations: 25.7 kB / 0.731 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.2298, allocations: 80.14 kB / 0.7311 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.2299, allocations: 23.66 kB / 0.7311 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2299, allocations: 0 / 0.7311 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.23, allocations: 322.8 kB / 0.7315 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.2301, allocations: 12 kB / 0.7315 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.2301, allocations: 15.98 kB / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.2302, allocations: 8 kB / 0.7315 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2302, allocations: 0 / 0.7315 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001522/0.2303, allocations: 69.67 kB / 0.7316 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2304, allocations: 4 kB / 0.7316 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2304, allocations: 7.938 kB / 0.7316 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2304, allocations: 3.938 kB / 0.7316 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.2305, allocations: 8 kB / 0.7316 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2305, allocations: 0 / 0.7316 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.2306, allocations: 4 kB / 0.7316 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2306, allocations: 4 kB / 0.7316 GB, free: 6.262 MB / 0.5573 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 8.558e-05/0.2307, allocations: 113.8 kB / 0.7317 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.2307, allocations: 4 kB / 0.7317 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.2309, allocations: 77.48 kB / 0.7318 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2309, allocations: 0 / 0.7318 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.231, allocations: 0 / 0.7318 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.231, allocations: 0 / 0.7318 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.2314, allocations: 319.4 kB / 0.7321 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2314, allocations: 3.984 kB / 0.7321 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2315, allocations: 11.94 kB / 0.7321 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2316, allocations: 0 / 0.7321 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2316, allocations: 4 kB / 0.7321 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2316, allocations: 0 / 0.7321 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2316, allocations: 0 / 0.7321 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.2319, allocations: 194.3 kB / 0.7323 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-05/0.2319, allocations: 85.3 kB / 0.7324 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.232, allocations: 0 / 0.7324 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2321, allocations: 15.98 kB / 0.7324 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.2321, allocations: 7.891 kB / 0.7324 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2321, allocations: 4 kB / 0.7324 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.2322, allocations: 75.28 kB / 0.7325 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2322, allocations: 4.062 kB / 0.7325 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003483/0.2326, allocations: 27.94 kB / 0.7325 GB, free: 5.211 MB / 0.5573 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.0006681/0.2332, allocations: 0.8033 MB / 0.7333 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.2334, allocations: 39.98 kB / 0.7333 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2334, allocations: 4 kB / 0.7333 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.2335, allocations: 15.98 kB / 0.7333 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.2337, allocations: 7.953 kB / 0.7333 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2348, allocations: 491.6 kB / 0.7338 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2351, allocations: 0.6809 MB / 0.7345 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.439e-05/0.2351, allocations: 8.062 kB / 0.7345 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.2352, allocations: 19.42 kB / 0.7345 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/0.2352, allocations: 0 / 0.7345 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.2597, allocations: 1.366 MB / 0.7358 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003411/0.2601, allocations: 227.7 kB / 0.7361 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.612, allocations: 6.578 kB / 0.7361 GB, free: 1.57 MB / 0.5573 GB