Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01412/0.01412, allocations: 88.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001649/0.001648, allocations: 169.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.103/2.103, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.661/2.661, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 11.25 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2448, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002099/0.247, allocations: 1.186 MB / 0.7292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.2479, allocations: 339.8 kB / 0.7296 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.248, allocations: 0 / 0.7296 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.248, allocations: 3.984 kB / 0.7296 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.2481, allocations: 3.984 kB / 0.7296 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.2486, allocations: 83.75 kB / 0.7296 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.2487, allocations: 35.89 kB / 0.7297 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.2487, allocations: 7.984 kB / 0.7297 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.2488, allocations: 19.92 kB / 0.7297 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.2489, allocations: 23.92 kB / 0.7297 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2489, allocations: 4 kB / 0.7297 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.2493, allocations: 183.6 kB / 0.7299 GB, free: 8.262 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.2494, allocations: 19.97 kB / 0.7299 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.2494, allocations: 33.64 kB / 0.73 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.2497, allocations: 68.12 kB / 0.73 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2497, allocations: 0 / 0.73 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2497, allocations: 0 / 0.73 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2497, allocations: 0 / 0.73 GB, free: 8.137 MB / 0.5573 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.0007988/0.2505, allocations: 385.4 kB / 0.7304 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2506, allocations: 12.03 kB / 0.7304 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.2506, allocations: 34.56 kB / 0.7304 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2507, allocations: 7.984 kB / 0.7304 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2508, allocations: 167 kB / 0.7306 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.2509, allocations: 4 kB / 0.7306 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.2509, allocations: 11.91 kB / 0.7306 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.2513, allocations: 85.59 kB / 0.7307 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2513, allocations: 0 / 0.7307 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2514, allocations: 7.938 kB / 0.7307 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2514, allocations: 0 / 0.7307 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.2518, allocations: 59.95 kB / 0.7308 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007785/0.2526, allocations: 328.7 kB / 0.7311 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.2532, allocations: 94.45 kB / 0.7312 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2532, allocations: 0 / 0.7312 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2532, allocations: 34.5 kB / 0.7312 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.2533, allocations: 0 / 0.7312 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.002651/0.2559, allocations: 0.6854 MB / 0.7319 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.256, allocations: 51.41 kB / 0.7319 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.2561, allocations: 102 kB / 0.732 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.2561, allocations: 25.7 kB / 0.732 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.2562, allocations: 92.12 kB / 0.7321 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.2563, allocations: 39.31 kB / 0.7322 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.2563, allocations: 3.938 kB / 0.7322 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2564, allocations: 326.8 kB / 0.7325 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.2567, allocations: 31.98 kB / 0.7325 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.2569, allocations: 35.97 kB / 0.7325 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.2572, allocations: 35.98 kB / 0.7326 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2572, allocations: 4 kB / 0.7326 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005899/0.2578, allocations: 117.8 kB / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2579, allocations: 11.95 kB / 0.7327 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2579, allocations: 0 / 0.7327 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2579, allocations: 4.031 kB / 0.7327 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.2582, allocations: 35.92 kB / 0.7327 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.2582, allocations: 4 kB / 0.7327 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2584, allocations: 7.984 kB / 0.7328 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2584, allocations: 4 kB / 0.7328 GB, free: 5.023 MB / 0.5573 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.0001229/0.2585, allocations: 117.8 kB / 0.7329 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.2586, allocations: 3.906 kB / 0.7329 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006722/0.2593, allocations: 145.5 kB / 0.733 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2593, allocations: 3.938 kB / 0.733 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.2593, allocations: 4 kB / 0.733 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2593, allocations: 0 / 0.733 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.2602, allocations: 390.5 kB / 0.7334 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2603, allocations: 3.953 kB / 0.7334 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.2606, allocations: 27.92 kB / 0.7334 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2606, allocations: 0 / 0.7334 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2606, allocations: 4 kB / 0.7334 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2606, allocations: 0 / 0.7334 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2606, allocations: 3.938 kB / 0.7334 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/0.2616, allocations: 263.7 kB / 0.7337 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.2616, allocations: 84.97 kB / 0.7338 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.2617, allocations: 4 kB / 0.7338 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2619, allocations: 16.08 kB / 0.7338 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.2619, allocations: 7.984 kB / 0.7338 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.262, allocations: 8 kB / 0.7338 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.262, allocations: 75.28 kB / 0.7339 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.262, allocations: 4 kB / 0.7339 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004134/0.2624, allocations: 35.94 kB / 0.7339 GB, free: 3.738 MB / 0.5573 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.001386/0.2638, allocations: 0.8337 MB / 0.7347 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005767/0.2645, allocations: 99.95 kB / 0.7348 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2645, allocations: 0 / 0.7348 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.2648, allocations: 51.91 kB / 0.7349 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.265, allocations: 4 kB / 0.7349 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.2673, allocations: 0.7493 MB / 0.7356 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2676, allocations: 0.6887 MB / 0.7363 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.2678, allocations: 12.77 kB / 0.7363 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.2678, allocations: 27.42 kB / 0.7363 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of SimCode: time 9.41e-07/0.2679, allocations: 0 / 0.7363 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.295, allocations: 2.051 MB / 0.7383 GB, free: 15.28 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003727/0.2955, allocations: 231.8 kB / 0.7385 GB, free: 15.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/2.832, allocations: 7.938 kB / 0.7385 GB, free: 15.03 MB / 0.573 GB