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_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01157/0.01157, allocations: 221 kB / 15.17 MB, free: 5.93 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.001069/0.001069, allocations: 179.9 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 3.14/3.14, allocations: 389.1 MB / 405.9 MB, free: 6.68 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.201/4.201, allocations: 472.3 MB / 0.9018 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 15.98 kB / 1.008 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1816, allocations: 98.7 MB / 1.104 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001429/0.1831, allocations: 0.9959 MB / 1.105 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006694/0.1837, allocations: 316.7 kB / 1.105 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.1838, allocations: 0 / 1.105 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1838, allocations: 7.875 kB / 1.105 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.453e-05/0.1839, allocations: 0 / 1.105 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.1842, allocations: 59.78 kB / 1.105 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.1843, allocations: 19.92 kB / 1.105 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1843, allocations: 7.938 kB / 1.105 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.1844, allocations: 11.88 kB / 1.105 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.1844, allocations: 11.98 kB / 1.105 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1844, allocations: 0 / 1.105 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.1848, allocations: 167.7 kB / 1.106 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.1848, allocations: 11.92 kB / 1.106 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.1848, allocations: 25.7 kB / 1.106 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.185, allocations: 56.16 kB / 1.106 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.64e-06/0.185, allocations: 0 / 1.106 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.795e-06/0.185, allocations: 0 / 1.106 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.071e-06/0.185, allocations: 0 / 1.106 GB, free: 2.137 MB / 0.7448 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.0004018/0.1854, allocations: 335.3 kB / 1.106 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1855, allocations: 16.03 kB / 1.106 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.1855, allocations: 0 / 1.106 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1857, allocations: 167 kB / 1.106 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1857, allocations: 4 kB / 1.106 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1857, allocations: 3.938 kB / 1.106 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1858, allocations: 45.62 kB / 1.106 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-06/0.1859, allocations: 0 / 1.106 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-06/0.1859, allocations: 0 / 1.106 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1859, allocations: 0 / 1.106 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.1859, allocations: 11.98 kB / 1.106 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.1861, allocations: 165.6 kB / 1.106 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1864, allocations: 42.52 kB / 1.106 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.1864, allocations: 16.86 kB / 1.106 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1864, allocations: 0 / 1.106 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1865, allocations: 38.5 kB / 1.106 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 3.817e-06/0.1865, allocations: 8 kB / 1.106 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0007136/0.1872, allocations: 298.4 kB / 1.107 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1873, allocations: 51.41 kB / 1.107 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.1874, allocations: 98.19 kB / 1.107 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1874, allocations: 25.7 kB / 1.107 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.1875, allocations: 84.12 kB / 1.107 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1875, allocations: 23.66 kB / 1.107 GB, free: 496 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-06/0.1875, allocations: 0 / 1.107 GB, free: 496 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1877, allocations: 314.8 kB / 1.107 GB, free: 172 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.1877, allocations: 19.98 kB / 1.107 GB, free: 152 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.1878, allocations: 11.98 kB / 1.107 GB, free: 140 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.1878, allocations: 15.98 kB / 1.107 GB, free: 124 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.824e-06/0.1878, allocations: 7.891 kB / 1.107 GB, free: 116 kB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001408/0.188, allocations: 69.62 kB / 1.107 GB, free: 40 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.188, allocations: 4 kB / 1.107 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-06/0.188, allocations: 64 / 1.107 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.188, allocations: 8 kB / 1.107 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.1881, allocations: 12.17 kB / 1.107 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.933e-06/0.1881, allocations: 4 kB / 1.107 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.1882, allocations: 0 / 1.107 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-06/0.1882, allocations: 4 kB / 1.107 GB, free: 8 kB / 0.7448 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 0.0001127/0.1883, allocations: 111.6 kB / 1.108 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.1883, allocations: 11.94 kB / 1.108 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.1885, allocations: 77.48 kB / 1.108 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.614e-06/0.1885, allocations: 0 / 1.108 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-06/0.1886, allocations: 3.938 kB / 1.108 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-06/0.1886, allocations: 4 kB / 1.108 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.189, allocations: 311.4 kB / 1.108 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.328e-06/0.189, allocations: 4 kB / 1.108 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.1891, allocations: 8 kB / 1.108 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.472e-06/0.1891, allocations: 0 / 1.108 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1891, allocations: 11.98 kB / 1.108 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-06/0.1891, allocations: 0 / 1.108 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1891, allocations: 0 / 1.108 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1894, allocations: 180.3 kB / 1.108 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.1895, allocations: 85.12 kB / 1.108 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1895, allocations: 0 / 1.108 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1896, allocations: 4 kB / 1.108 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.1896, allocations: 0 / 1.108 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1897, allocations: 8.188 kB / 1.108 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.1897, allocations: 79.27 kB / 1.108 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.32e-07/0.1897, allocations: 4.062 kB / 1.108 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003278/0.1901, allocations: 23.94 kB / 1.108 GB, free: 14.98 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002073/0.1903, allocations: 135 kB / 1.109 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1904, allocations: 31.92 kB / 1.109 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1904, allocations: 0 / 1.109 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.1905, allocations: 16 kB / 1.109 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1908, allocations: 7.953 kB / 1.109 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.1913, allocations: 233.3 kB / 1.109 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1916, allocations: 0.6848 MB / 1.109 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.1917, allocations: 4 kB / 1.109 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1917, allocations: 15.42 kB / 1.109 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.272e-06/0.1917, allocations: 0 / 1.109 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.003269/0.195, allocations: 0.615 MB / 1.11 GB, free: 13.2 MB / 0.7605 GB