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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01175/0.01175, allocations: 106.9 kB / 15.06 MB, free: 5.555 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.001292/0.001292, allocations: 183.2 kB / 15.95 MB, free: 5.52 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.052/2.052, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.433/2.433, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006723/0.0006725, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.6882, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00151/0.6898, allocations: 0.9865 MB / 0.6844 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.6906, allocations: 337.3 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.6906, allocations: 5.062 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.6906, allocations: 0 / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.6907, allocations: 1.25 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.6912, allocations: 73.73 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.6912, allocations: 26.34 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.6913, allocations: 2.688 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.6913, allocations: 19.28 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.6914, allocations: 8.641 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.6914, allocations: 1.375 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.6919, allocations: 180.6 kB / 0.685 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.6919, allocations: 10.72 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.692, allocations: 36.48 kB / 0.6851 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.6922, allocations: 56.09 kB / 0.6851 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6922, allocations: 0 / 0.6851 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6922, allocations: 0 / 0.6851 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6922, allocations: 5.25 kB / 0.6851 GB, free: 15.71 MB / 0.5261 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.0003774/0.6926, allocations: 346.4 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6926, allocations: 9.062 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.6927, allocations: 32.78 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.6927, allocations: 5.125 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.6928, allocations: 165.9 kB / 0.6857 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.6929, allocations: 6.938 kB / 0.6857 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.6929, allocations: 3.25 kB / 0.6857 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.693, allocations: 48.19 kB / 0.6857 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6931, allocations: 5.5 kB / 0.6857 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.6931, allocations: 4.656 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6931, allocations: 1.344 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/0.6932, allocations: 23.33 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.6934, allocations: 166.9 kB / 0.6859 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.6935, allocations: 55.45 kB / 0.686 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.6936, allocations: 1.469 kB / 0.686 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.6936, allocations: 36.06 kB / 0.686 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.6936, allocations: 0 / 0.686 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.00142/0.695, allocations: 0.5872 MB / 0.6866 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6951, allocations: 56.78 kB / 0.6866 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.16e-05/0.6951, allocations: 94.06 kB / 0.6867 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.6952, allocations: 31.33 kB / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.6952, allocations: 80.98 kB / 0.6868 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.6953, allocations: 43.88 kB / 0.6869 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.6953, allocations: 4 kB / 0.6869 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.6953, allocations: 319 kB / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.6954, allocations: 22.67 kB / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.6955, allocations: 26.81 kB / 0.6872 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.566e-05/0.6956, allocations: 25.31 kB / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.6956, allocations: 0 / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002139/0.6958, allocations: 96.97 kB / 0.6873 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6958, allocations: 4.031 kB / 0.6873 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.6959, allocations: 1.812 kB / 0.6873 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.6959, allocations: 5.062 kB / 0.6873 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.6961, allocations: 24.38 kB / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.6961, allocations: 1.172 kB / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.6962, allocations: 1.438 kB / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.6962, allocations: 11.31 kB / 0.6874 GB, free: 13.51 MB / 0.5261 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 7.349e-05/0.6963, allocations: 116.6 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.6963, allocations: 7.094 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.6966, allocations: 108.4 kB / 0.6876 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6966, allocations: 5.266 kB / 0.6876 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6966, allocations: 0.9688 kB / 0.6876 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6966, allocations: 0.7031 kB / 0.6876 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.6971, allocations: 347.5 kB / 0.6879 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6971, allocations: 5.734 kB / 0.6879 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.6973, allocations: 20.38 kB / 0.688 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6973, allocations: 0 / 0.688 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6974, allocations: 5.188 kB / 0.688 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.6974, allocations: 1.641 kB / 0.688 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6974, allocations: 3.938 kB / 0.688 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.6977, allocations: 214.9 kB / 0.6882 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.6977, allocations: 84 kB / 0.6883 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.6978, allocations: 1.156 kB / 0.6883 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.6979, allocations: 3.422 kB / 0.6883 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.698, allocations: 13.41 kB / 0.6883 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.698, allocations: 2.656 kB / 0.6883 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.401e-05/0.698, allocations: 77.98 kB / 0.6884 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.698, allocations: 0 / 0.6884 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003854/0.6984, allocations: 42.33 kB / 0.6884 GB, free: 12.61 MB / 0.5261 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.0006497/0.6991, allocations: 0.7857 MB / 0.6892 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.6993, allocations: 69.27 kB / 0.6892 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6993, allocations: 3.938 kB / 0.6892 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.6994, allocations: 33.17 kB / 0.6893 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.6996, allocations: 4.875 kB / 0.6893 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.7009, allocations: 0.6521 MB / 0.6899 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.7011, allocations: 0.693 MB / 0.6906 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.411e-05/0.7011, allocations: 6.766 kB / 0.6906 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.7012, allocations: 23.06 kB / 0.6906 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/0.7012, allocations: 0 / 0.6906 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.7227, allocations: 1.806 MB / 0.6924 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/0.7231, allocations: 230.5 kB / 0.6926 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.163, allocations: 3.938 kB / 0.6926 GB, free: 10.17 MB / 0.5261 GB