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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01087/0.01087, allocations: 107.6 kB / 15.06 MB, free: 5.562 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.001165/0.001165, allocations: 173.6 kB / 15.94 MB, free: 5.527 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 1.928/1.928, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.364/2.364, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.000492, allocations: 12 kB / 0.5869 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6034/0.6039, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001208/0.6052, allocations: 0.9767 MB / 0.6843 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006048/0.6058, allocations: 330.2 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.6058, allocations: 0 / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.6059, allocations: 0 / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.6059, allocations: 10.08 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.6063, allocations: 71.91 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.6063, allocations: 11.81 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.6064, allocations: 5.906 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.6064, allocations: 4.922 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.6065, allocations: 13.2 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.6065, allocations: 5.062 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.6069, allocations: 183.4 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.6069, allocations: 1.891 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.6069, allocations: 28.36 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.6071, allocations: 52.12 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.944e-06/0.6071, allocations: 0 / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.03e-06/0.6071, allocations: 0 / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.732e-06/0.6071, allocations: 1.219 kB / 0.685 GB, free: 15.7 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.0002945/0.6074, allocations: 342.3 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6075, allocations: 8.875 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.6075, allocations: 2.25 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.6076, allocations: 173.8 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.6076, allocations: 1.594 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.6077, allocations: 5 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.6078, allocations: 43.33 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-06/0.6078, allocations: 0 / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.6078, allocations: 5.438 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-06/0.6078, allocations: 0 / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.6079, allocations: 12.97 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.608, allocations: 158 kB / 0.6857 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.6082, allocations: 41.03 kB / 0.6857 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.6083, allocations: 3.938 kB / 0.6857 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.6083, allocations: 45.05 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.277e-06/0.6083, allocations: 0 / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0006169/0.6089, allocations: 300.9 kB / 0.6861 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.609, allocations: 52.3 kB / 0.6861 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.609, allocations: 99.44 kB / 0.6862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.6091, allocations: 27.05 kB / 0.6862 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.6091, allocations: 80.14 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.6091, allocations: 23.8 kB / 0.6863 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-06/0.6091, allocations: 5.312 kB / 0.6864 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.6092, allocations: 321.2 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.6092, allocations: 7.359 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.6093, allocations: 13.38 kB / 0.6867 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.6093, allocations: 15.56 kB / 0.6867 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-06/0.6094, allocations: 0 / 0.6867 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001276/0.6095, allocations: 67.12 kB / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6095, allocations: 4.906 kB / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.011e-06/0.6095, allocations: 0 / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6096, allocations: 6.047 kB / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.6096, allocations: 15.41 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.461e-06/0.6096, allocations: 0 / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.6097, allocations: 1.312 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.6097, allocations: 2.125 kB / 0.6868 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 7.704e-05/0.6098, allocations: 116.6 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.6099, allocations: 1.219 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.6101, allocations: 81.25 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.772e-06/0.6101, allocations: 5.062 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6101, allocations: 1.156 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.615e-06/0.6101, allocations: 1.078 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.6105, allocations: 316.5 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.6105, allocations: 0.6562 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.6106, allocations: 11.09 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.357e-06/0.6106, allocations: 6.094 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-06/0.6106, allocations: 0 / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.365e-06/0.6106, allocations: 2.234 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-06/0.6106, allocations: 5.547 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.6108, allocations: 193.1 kB / 0.6875 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.6109, allocations: 85.22 kB / 0.6876 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.6109, allocations: 5.688 kB / 0.6876 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.611, allocations: 1.672 kB / 0.6876 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.6111, allocations: 8.438 kB / 0.6876 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.6111, allocations: 5.953 kB / 0.6876 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.6111, allocations: 78.72 kB / 0.6877 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.7e-07/0.6111, allocations: 1.281 kB / 0.6877 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003348/0.6115, allocations: 22.73 kB / 0.6877 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.0001728/0.6116, allocations: 128 kB / 0.6878 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.6118, allocations: 39.3 kB / 0.6879 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6118, allocations: 0 / 0.6879 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.6118, allocations: 20.8 kB / 0.6879 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.612, allocations: 2.781 kB / 0.6879 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.6125, allocations: 220.7 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.6126, allocations: 0.6829 MB / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.6127, allocations: 4.922 kB / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.6127, allocations: 10.81 kB / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.279e-06/0.6127, allocations: 0 / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.003218/0.616, allocations: 0.5945 MB / 0.6893 GB, free: 11.83 MB / 0.5261 GB