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_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.01482/0.01483, allocations: 88.61 kB / 15.04 MB, free: 6.062 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.002008/0.002008, allocations: 167.6 kB / 15.92 MB, free: 6.008 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.068/2.068, 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.373/2.373, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004902, allocations: 13.34 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001653/0.222, allocations: 1.008 MB / 0.7291 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.2229, allocations: 348.8 kB / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.2229, allocations: 0 / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.223, allocations: 0 / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.223, allocations: 7.984 kB / 0.7294 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.2236, allocations: 79.7 kB / 0.7295 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.2236, allocations: 19.97 kB / 0.7295 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.2237, allocations: 0 / 0.7295 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.2238, allocations: 12 kB / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.2238, allocations: 15.92 kB / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2239, allocations: 0 / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.2243, allocations: 187.7 kB / 0.7297 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.2243, allocations: 0 / 0.7297 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.2244, allocations: 33.7 kB / 0.7297 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2246, allocations: 60.08 kB / 0.7298 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2246, allocations: 0 / 0.7298 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2246, allocations: 3.938 kB / 0.7298 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2246, allocations: 0 / 0.7298 GB, free: 8.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000498/0.2251, allocations: 347.4 kB / 0.7301 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2252, allocations: 8.031 kB / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.2253, allocations: 34.56 kB / 0.7302 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.2253, allocations: 7.938 kB / 0.7302 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2255, allocations: 167 kB / 0.7303 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2255, allocations: 4 kB / 0.7303 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.2255, allocations: 3.906 kB / 0.7303 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2257, allocations: 49.69 kB / 0.7304 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2257, allocations: 0 / 0.7304 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2258, allocations: 4 kB / 0.7304 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2258, allocations: 4 kB / 0.7304 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.2258, allocations: 15.98 kB / 0.7304 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.2261, allocations: 173.5 kB / 0.7306 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.2263, allocations: 66.48 kB / 0.7306 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2263, allocations: 0 / 0.7306 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2264, allocations: 34.56 kB / 0.7307 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2264, allocations: 4 kB / 0.7307 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.001625/0.228, allocations: 0.5847 MB / 0.7312 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.2281, allocations: 51.41 kB / 0.7313 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.2282, allocations: 101.9 kB / 0.7314 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.2282, allocations: 25.7 kB / 0.7314 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.2283, allocations: 88.14 kB / 0.7315 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.2284, allocations: 35.45 kB / 0.7315 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.2284, allocations: 3.938 kB / 0.7315 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2285, allocations: 322.8 kB / 0.7318 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.2286, allocations: 16 kB / 0.7319 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.2287, allocations: 23.98 kB / 0.7319 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.2288, allocations: 28 kB / 0.7319 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2288, allocations: 4.219 kB / 0.7319 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002394/0.229, allocations: 97.53 kB / 0.732 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2291, allocations: 7.984 kB / 0.732 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2291, allocations: 0 / 0.732 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2291, allocations: 0 / 0.732 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2293, allocations: 23.94 kB / 0.732 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2293, allocations: 0 / 0.732 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.2294, allocations: 4 kB / 0.732 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2294, allocations: 7.938 kB / 0.732 GB, free: 5.762 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 (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.0001108/0.2295, allocations: 125.8 kB / 0.7322 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.2295, allocations: 3.906 kB / 0.7322 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.2299, allocations: 109.6 kB / 0.7323 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2299, allocations: 0 / 0.7323 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2299, allocations: 0 / 0.7323 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2299, allocations: 3.984 kB / 0.7323 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.2305, allocations: 354.5 kB / 0.7326 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2305, allocations: 0 / 0.7326 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2307, allocations: 23.92 kB / 0.7326 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2308, allocations: 4 kB / 0.7326 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2308, allocations: 4 kB / 0.7326 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2308, allocations: 0 / 0.7326 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2308, allocations: 0 / 0.7326 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.2312, allocations: 219.3 kB / 0.7329 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.2312, allocations: 81.14 kB / 0.7329 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2313, allocations: 0 / 0.7329 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2315, allocations: 8.062 kB / 0.7329 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.2315, allocations: 7.984 kB / 0.7329 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2315, allocations: 4 kB / 0.733 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.2316, allocations: 83.28 kB / 0.733 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2316, allocations: 0 / 0.733 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003916/0.232, allocations: 39.94 kB / 0.7331 GB, free: 4.602 MB / 0.5573 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.0008247/0.2328, allocations: 0.7873 MB / 0.7338 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2331, allocations: 63.92 kB / 0.7339 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2331, allocations: 0 / 0.7339 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.2332, allocations: 31.98 kB / 0.7339 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.2334, allocations: 7.938 kB / 0.7339 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2348, allocations: 0.6572 MB / 0.7346 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2353, allocations: 0.6965 MB / 0.7353 GB, free: 2.254 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.465e-05/0.2354, allocations: 16 kB / 0.7353 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.2355, allocations: 15.44 kB / 0.7353 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.2355, allocations: 0 / 0.7353 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.2581, allocations: 1.786 MB / 0.737 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.2584, allocations: 242.4 kB / 0.7373 GB, free: 332 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.662, allocations: 3.75 kB / 0.7373 GB, free: 332 kB / 0.5573 GB