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.005997/0.006002, allocations: 241.2 kB / 15.81 MB, free: 6.281 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.001793/0.001793, allocations: 182.9 kB / 16.69 MB, free: 5.449 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 3.954/3.954, allocations: 389.1 MB / 406.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.889/3.889, allocations: 472.3 MB / 0.9024 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006417, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1835, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001297/0.1848, allocations: 0.9899 MB / 1.106 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.1855, allocations: 345.9 kB / 1.106 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.1856, allocations: 0 / 1.106 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.1856, allocations: 3.984 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.1857, allocations: 0.7188 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.1861, allocations: 72.8 kB / 1.106 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.1861, allocations: 19.92 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1862, allocations: 11.42 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.1862, allocations: 11.92 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.1863, allocations: 15.98 kB / 1.106 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1863, allocations: 3.344 kB / 1.106 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.1867, allocations: 167.6 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1867, allocations: 7.984 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.1867, allocations: 33.64 kB / 1.106 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1869, allocations: 60.14 kB / 1.106 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1869, allocations: 0 / 1.106 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1869, allocations: 0 / 1.106 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.1869, allocations: 0 / 1.106 GB, free: 40.31 MB / 0.6042 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.0003341/0.1873, allocations: 350 kB / 1.107 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1873, allocations: 12.03 kB / 1.107 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1874, allocations: 7.953 kB / 1.107 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.1874, allocations: 167.1 kB / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1875, allocations: 0 / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.1875, allocations: 4 kB / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1876, allocations: 52.56 kB / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1877, allocations: 7.938 kB / 1.107 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1877, allocations: 0 / 1.107 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1877, allocations: 3.953 kB / 1.107 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.194e-05/0.1878, allocations: 19.98 kB / 1.107 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1879, allocations: 165.6 kB / 1.107 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1881, allocations: 61.95 kB / 1.107 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.1881, allocations: 25.09 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1882, allocations: 3.984 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1882, allocations: 42.48 kB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1882, allocations: 3.938 kB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001459/0.1897, allocations: 0.5817 MB / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1897, allocations: 55.39 kB / 1.108 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.1898, allocations: 101.5 kB / 1.108 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1899, allocations: 25.7 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.1899, allocations: 84.12 kB / 1.108 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.19, allocations: 39.45 kB / 1.108 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.19, allocations: 3.938 kB / 1.108 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.1901, allocations: 318.8 kB / 1.108 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.1902, allocations: 19.98 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1904, allocations: 23.98 kB / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1905, allocations: 22.19 kB / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1905, allocations: 0 / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003357/0.1909, allocations: 105.8 kB / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1909, allocations: 8 kB / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1909, allocations: 0 / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.191, allocations: 0 / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1912, allocations: 24.7 kB / 1.109 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1913, allocations: 3.953 kB / 1.109 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.1913, allocations: 2.438 kB / 1.109 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1914, allocations: 8.094 kB / 1.109 GB, free: 37.71 MB / 0.6042 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.0001053/0.1915, allocations: 113.8 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1915, allocations: 4 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.1919, allocations: 104.3 kB / 1.109 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.192, allocations: 0 / 1.109 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.192, allocations: 7.938 kB / 1.109 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.192, allocations: 84.97 kB / 1.109 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1921, allocations: 4 kB / 1.109 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1922, allocations: 7.984 kB / 1.109 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1923, allocations: 11.34 kB / 1.109 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004324/0.1927, allocations: 172.9 kB / 1.109 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005341/0.1933, allocations: 298.9 kB / 1.109 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001768/0.1935, allocations: 36.47 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.1936, allocations: 75.28 kB / 1.109 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of Backend: time 1.222e-06/0.1936, allocations: 4 kB / 1.109 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.1947, allocations: 154.2 kB / 1.11 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009851/0.1957, allocations: 0.7511 MB / 1.11 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.006707/0.2024, allocations: 1.052 MB / 1.111 GB, free: 34.89 MB / 0.6042 GB