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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009098/0.009102, allocations: 107.5 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.001128/0.001128, allocations: 181.7 kB / 15.95 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 2.086/2.086, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.392/2.392, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007147/0.000715, allocations: 12 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6003/0.601, allocations: 98.7 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001247/0.6023, allocations: 0.9912 MB / 0.6843 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006164/0.603, allocations: 336.2 kB / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.603, allocations: 0 / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.603, allocations: 1.312 kB / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.6031, allocations: 0.75 kB / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.6035, allocations: 83.02 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.056e-05/0.6035, allocations: 21.98 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.6036, allocations: 1.891 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.6036, allocations: 12.02 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.6037, allocations: 15.75 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.6037, allocations: 1.344 kB / 0.6848 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.6041, allocations: 175.8 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.6041, allocations: 11.05 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.6041, allocations: 34.17 kB / 0.685 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.6043, allocations: 51.44 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.717e-06/0.6043, allocations: 0 / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.922e-06/0.6043, allocations: 4 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.6043, allocations: 0 / 0.685 GB, free: 15.75 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.0002989/0.6046, allocations: 346 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.6047, allocations: 8.969 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.6047, allocations: 3.125 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.6048, allocations: 170 kB / 0.6855 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6048, allocations: 9.344 kB / 0.6855 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.6049, allocations: 2.906 kB / 0.6855 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.605, allocations: 61.81 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.605, allocations: 0 / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.605, allocations: 2.156 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-06/0.605, allocations: 0 / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.6051, allocations: 18.72 kB / 0.6856 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.6053, allocations: 166.9 kB / 0.6858 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.6054, allocations: 56.16 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.6055, allocations: 5.375 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.6055, allocations: 35.62 kB / 0.6859 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.011e-06/0.6055, allocations: 1.594 kB / 0.6859 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001238/0.6067, allocations: 0.5861 MB / 0.6864 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.6068, allocations: 58.69 kB / 0.6865 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.04e-05/0.6069, allocations: 93.47 kB / 0.6866 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.6069, allocations: 31.11 kB / 0.6866 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.6069, allocations: 80.14 kB / 0.6867 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.607, allocations: 44.05 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-06/0.607, allocations: 4 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.607, allocations: 318.6 kB / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.6071, allocations: 22.14 kB / 0.6871 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/0.6072, allocations: 23.81 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.6072, allocations: 25.75 kB / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-06/0.6073, allocations: 0 / 0.6871 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001904/0.6075, allocations: 95.33 kB / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6075, allocations: 5.406 kB / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.487e-06/0.6075, allocations: 0.5625 kB / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6075, allocations: 1.562 kB / 0.6872 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.6077, allocations: 24.69 kB / 0.6872 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.275e-06/0.6077, allocations: 1.438 kB / 0.6872 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.6077, allocations: 0 / 0.6872 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.6077, allocations: 7.578 kB / 0.6872 GB, free: 13.59 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 6.833e-05/0.6078, allocations: 121.1 kB / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.6079, allocations: 7.406 kB / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.6081, allocations: 108.6 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-06/0.6081, allocations: 1.312 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.874e-06/0.6081, allocations: 1.5 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-06/0.6081, allocations: 0.8438 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.6086, allocations: 360 kB / 0.6878 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.6086, allocations: 0 / 0.6878 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.6087, allocations: 19.88 kB / 0.6878 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6088, allocations: 5.281 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.6088, allocations: 6.031 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.423e-06/0.6088, allocations: 1.062 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-06/0.6088, allocations: 0 / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.6091, allocations: 228.2 kB / 0.6881 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.6091, allocations: 82.52 kB / 0.6881 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6092, allocations: 1.312 kB / 0.6881 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6093, allocations: 2.688 kB / 0.6881 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.6093, allocations: 11.16 kB / 0.6882 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.6093, allocations: 3 kB / 0.6882 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.371e-05/0.6094, allocations: 77.84 kB / 0.6882 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.438e-06/0.6094, allocations: 0 / 0.6882 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003743/0.6098, allocations: 41.05 kB / 0.6883 GB, free: 12.67 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.0002071/0.61, allocations: 137.8 kB / 0.6884 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.6102, allocations: 63.62 kB / 0.6885 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.572e-06/0.6102, allocations: 0 / 0.6885 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.6103, allocations: 32.91 kB / 0.6885 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.6105, allocations: 7.938 kB / 0.6885 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.6111, allocations: 341.5 kB / 0.6888 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.6112, allocations: 0.6901 MB / 0.6895 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.321e-05/0.6113, allocations: 8.453 kB / 0.6895 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.6113, allocations: 12.12 kB / 0.6895 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.397e-06/0.6114, allocations: 0 / 0.6895 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.004969/0.6163, allocations: 0.8892 MB / 0.6904 GB, free: 11.46 MB / 0.5261 GB