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_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.01802/0.01802, allocations: 223 kB / 15.17 MB, free: 5.922 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.001986/0.001985, allocations: 173.5 kB / 16.06 MB, free: 5.828 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 4.128/4.128, allocations: 389 MB / 405.9 MB, free: 11.72 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 4.035/4.035, allocations: 472.3 MB / 0.9018 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.000639, allocations: 8.219 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1768, allocations: 98.73 MB / 1.104 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001629/0.1784, allocations: 1.163 MB / 1.105 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.1792, allocations: 339.5 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.1793, allocations: 0 / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.1793, allocations: 3.984 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.1794, allocations: 3.938 kB / 1.106 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1798, allocations: 75.42 kB / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.1799, allocations: 47.84 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.18, allocations: 0 / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.18, allocations: 23.92 kB / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.1801, allocations: 27.91 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1801, allocations: 3.938 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.1805, allocations: 171.1 kB / 1.106 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1805, allocations: 11.94 kB / 1.106 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1805, allocations: 29.7 kB / 1.106 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1807, allocations: 76.09 kB / 1.106 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1807, allocations: 0 / 1.106 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1807, allocations: 3.938 kB / 1.106 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1807, allocations: 0 / 1.106 GB, free: 40.12 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006373/0.1814, allocations: 377 kB / 1.106 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1814, allocations: 16.02 kB / 1.106 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.1815, allocations: 34.52 kB / 1.106 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1815, allocations: 15.22 kB / 1.106 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/0.1816, allocations: 163 kB / 1.107 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.1817, allocations: 4.984 kB / 1.107 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1817, allocations: 8 kB / 1.107 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.1821, allocations: 85.58 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1821, allocations: 4 kB / 1.107 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1821, allocations: 3.188 kB / 1.107 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1821, allocations: 3.953 kB / 1.107 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.1825, allocations: 59.95 kB / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.1832, allocations: 327.1 kB / 1.107 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.1837, allocations: 91.47 kB / 1.107 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.1839, allocations: 35.69 kB / 1.107 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.184, allocations: 4.156 kB / 1.107 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.184, allocations: 42.48 kB / 1.107 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.184, allocations: 0 / 1.107 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002328/0.1864, allocations: 0.669 MB / 1.108 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1864, allocations: 51.41 kB / 1.108 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.1865, allocations: 105.3 kB / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1865, allocations: 29.7 kB / 1.108 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.1866, allocations: 88.05 kB / 1.108 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1866, allocations: 39.44 kB / 1.108 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.1866, allocations: 4 kB / 1.108 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.1867, allocations: 322.8 kB / 1.109 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1869, allocations: 33.92 kB / 1.109 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1872, allocations: 39.97 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.1874, allocations: 39.64 kB / 1.109 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1874, allocations: 0 / 1.109 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000524/0.188, allocations: 129.6 kB / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.188, allocations: 5.031 kB / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.188, allocations: 0.8906 kB / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.188, allocations: 0 / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.1883, allocations: 30.3 kB / 1.109 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1883, allocations: 0 / 1.109 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1885, allocations: 7.984 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1885, allocations: 8 kB / 1.109 GB, free: 37.02 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 8.688e-05/0.1886, allocations: 123.1 kB / 1.109 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1886, allocations: 7.906 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.1892, allocations: 144.1 kB / 1.109 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1892, allocations: 3.984 kB / 1.109 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1893, allocations: 1.5 kB / 1.109 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1893, allocations: 0 / 1.109 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.1901, allocations: 393.7 kB / 1.109 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1901, allocations: 2.156 kB / 1.109 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.1904, allocations: 27.97 kB / 1.109 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1904, allocations: 4 kB / 1.109 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1904, allocations: 4 kB / 1.109 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1904, allocations: 0 / 1.109 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1904, allocations: 2.156 kB / 1.109 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.1913, allocations: 271 kB / 1.11 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.1913, allocations: 77.11 kB / 1.11 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1913, allocations: 4.031 kB / 1.11 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1915, allocations: 11.23 kB / 1.11 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1916, allocations: 11.94 kB / 1.11 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1916, allocations: 7.984 kB / 1.11 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.1917, allocations: 79.28 kB / 1.11 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.1917, allocations: 0 / 1.11 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003888/0.1921, allocations: 35.94 kB / 1.11 GB, free: 35.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.001104/0.1932, allocations: 0.8387 MB / 1.111 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.1937, allocations: 91.52 kB / 1.111 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1937, allocations: 0 / 1.111 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.194, allocations: 51.91 kB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1944, allocations: 8 kB / 1.111 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1963, allocations: 0.7465 MB / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.1965, allocations: 0.7003 MB / 1.112 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.1966, allocations: 19.16 kB / 1.112 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.1967, allocations: 23.42 kB / 1.112 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/0.1967, allocations: 0 / 1.112 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.2174, allocations: 2.071 MB / 1.114 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.2177, allocations: 241.1 kB / 1.115 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.592, allocations: 0 / 1.115 GB, free: 31.23 MB / 0.6042 GB