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.01175/0.01176, allocations: 107 kB / 15.06 MB, free: 5.559 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.001491/0.001491, allocations: 179.4 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.145/2.145, 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.424/2.424, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004976, allocations: 15.98 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8422/0.8428, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001599/0.8444, allocations: 0.9718 MB / 0.6844 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00077/0.8452, allocations: 330.8 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.8453, allocations: 0 / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.8453, allocations: 4.875 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.8454, allocations: 1.312 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.8458, allocations: 72.56 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.8459, allocations: 15.59 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.8459, allocations: 2.172 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.846, allocations: 8.938 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.846, allocations: 13.84 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.8461, allocations: 0 / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.8465, allocations: 188.1 kB / 0.685 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.8465, allocations: 2.172 kB / 0.685 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.8466, allocations: 26.77 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.8468, allocations: 52.59 kB / 0.6851 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8468, allocations: 0 / 0.6851 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8468, allocations: 1.688 kB / 0.6851 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8468, allocations: 4 kB / 0.6851 GB, free: 15.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003833/0.8472, allocations: 334.8 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.8473, allocations: 8.875 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.8473, allocations: 31.12 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.8473, allocations: 7.328 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.8475, allocations: 173.1 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.8475, allocations: 5.281 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.8475, allocations: 1.219 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.8477, allocations: 43.75 kB / 0.6856 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8477, allocations: 0 / 0.6856 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.8477, allocations: 1.922 kB / 0.6857 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8477, allocations: 0 / 0.6857 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.8478, allocations: 11.95 kB / 0.6857 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.848, allocations: 163.2 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.8482, allocations: 47.22 kB / 0.6859 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.8483, allocations: 5.438 kB / 0.6859 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.8483, allocations: 32.42 kB / 0.6859 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.8483, allocations: 0 / 0.6859 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0007389/0.8491, allocations: 312.4 kB / 0.6862 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.8491, allocations: 52.56 kB / 0.6862 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.8492, allocations: 95.39 kB / 0.6863 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.8492, allocations: 27.66 kB / 0.6864 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.8492, allocations: 88.14 kB / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.8493, allocations: 20.28 kB / 0.6865 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.8493, allocations: 4 kB / 0.6865 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.8494, allocations: 317.4 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.8494, allocations: 12.11 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.8495, allocations: 11.33 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.8495, allocations: 16.47 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.8495, allocations: 0 / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000135/0.8497, allocations: 58.7 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.8497, allocations: 9.812 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8497, allocations: 1.031 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8498, allocations: 0 / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.8499, allocations: 15.91 kB / 0.6869 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8499, allocations: 0.75 kB / 0.6869 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.8499, allocations: 4.938 kB / 0.6869 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.8499, allocations: 2 kB / 0.6869 GB, free: 13.83 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 (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 6.758e-05/0.85, allocations: 112.4 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.85, allocations: 10.66 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.8502, allocations: 76.45 kB / 0.6871 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.8502, allocations: 1.156 kB / 0.6871 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.8503, allocations: 1.594 kB / 0.6871 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8503, allocations: 0.6562 kB / 0.6871 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.8506, allocations: 315.5 kB / 0.6874 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.8507, allocations: 5.672 kB / 0.6874 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.8508, allocations: 10.84 kB / 0.6874 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.8508, allocations: 2.031 kB / 0.6874 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.8508, allocations: 5.469 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.8508, allocations: 3.938 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8508, allocations: 2.047 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.8511, allocations: 188.3 kB / 0.6876 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.8511, allocations: 90.66 kB / 0.6877 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.8512, allocations: 1.688 kB / 0.6877 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.8513, allocations: 5.969 kB / 0.6877 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.8513, allocations: 11.95 kB / 0.6877 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.8513, allocations: 3.359 kB / 0.6877 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.8514, allocations: 82.27 kB / 0.6878 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8514, allocations: 0 / 0.6878 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000354/0.8517, allocations: 20.72 kB / 0.6878 GB, free: 12.93 MB / 0.5261 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.0005914/0.8524, allocations: 0.8179 MB / 0.6886 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.8525, allocations: 31.61 kB / 0.6886 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8525, allocations: 0 / 0.6886 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.8526, allocations: 17.48 kB / 0.6887 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.8528, allocations: 9.234 kB / 0.6887 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.8538, allocations: 496.6 kB / 0.6891 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.854, allocations: 0.6838 MB / 0.6898 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.8541, allocations: 3.531 kB / 0.6898 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.8541, allocations: 18.66 kB / 0.6898 GB, free: 11 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/0.8541, allocations: 0 / 0.6898 GB, free: 11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.8747, allocations: 1.372 MB / 0.6912 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/0.8751, allocations: 231.7 kB / 0.6914 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.229, allocations: 0 / 0.6914 GB, free: 10.56 MB / 0.5261 GB