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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.01/0.01, allocations: 89.86 kB / 15.04 MB, free: 5.977 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.001185/0.001184, allocations: 172.3 kB / 15.92 MB, free: 5.938 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.056/2.056, 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.512/2.512, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 12.5 kB / 0.6243 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2303, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001812/0.2321, allocations: 1.004 MB / 0.7291 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.233, allocations: 316.9 kB / 0.7294 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.2331, allocations: 0 / 0.7294 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.2331, allocations: 0 / 0.7294 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.2331, allocations: 7.922 kB / 0.7294 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.2336, allocations: 63.83 kB / 0.7294 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.2337, allocations: 15.92 kB / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.2337, allocations: 0 / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.2338, allocations: 15.98 kB / 0.7295 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.2339, allocations: 7.938 kB / 0.7295 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.2339, allocations: 0 / 0.7295 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.2343, allocations: 179.7 kB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.2343, allocations: 4 kB / 0.7296 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.2344, allocations: 29.7 kB / 0.7297 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2346, allocations: 52.16 kB / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2346, allocations: 0 / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2346, allocations: 0 / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2346, allocations: 3.938 kB / 0.7297 GB, free: 8.457 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005001/0.2351, allocations: 343.4 kB / 0.73 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.2352, allocations: 8.031 kB / 0.7301 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.2352, allocations: 30.56 kB / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.2353, allocations: 7.984 kB / 0.7301 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2354, allocations: 167 kB / 0.7302 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2355, allocations: 4 kB / 0.7303 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.2355, allocations: 11.84 kB / 0.7303 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2356, allocations: 37.69 kB / 0.7303 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2357, allocations: 0 / 0.7303 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2357, allocations: 4 kB / 0.7303 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2357, allocations: 4 kB / 0.7303 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.2358, allocations: 4 kB / 0.7303 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.236, allocations: 165.6 kB / 0.7305 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.2362, allocations: 42.55 kB / 0.7305 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.2363, allocations: 4.078 kB / 0.7305 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.2363, allocations: 30.56 kB / 0.7305 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.2363, allocations: 4 kB / 0.7305 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0007906/0.2371, allocations: 314.2 kB / 0.7308 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2372, allocations: 51.41 kB / 0.7309 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.2373, allocations: 101.8 kB / 0.731 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.2373, allocations: 29.7 kB / 0.731 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.2374, allocations: 80.83 kB / 0.7311 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.2374, allocations: 19.72 kB / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.2374, allocations: 4 kB / 0.7311 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2376, allocations: 318.8 kB / 0.7314 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.2376, allocations: 15.94 kB / 0.7314 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.2377, allocations: 8 kB / 0.7314 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.2377, allocations: 12.16 kB / 0.7315 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2377, allocations: 0 / 0.7315 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/0.2379, allocations: 69.67 kB / 0.7315 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2379, allocations: 4 kB / 0.7315 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2379, allocations: 0 / 0.7315 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.238, allocations: 0 / 0.7315 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2381, allocations: 24.05 kB / 0.7316 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2381, allocations: 0 / 0.7316 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.2381, allocations: 0 / 0.7316 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2381, allocations: 4 kB / 0.7316 GB, free: 6.305 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 (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 9.232e-05/0.2382, allocations: 121.7 kB / 0.7317 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.2383, allocations: 4 kB / 0.7317 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.2385, allocations: 73.55 kB / 0.7317 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2385, allocations: 0 / 0.7317 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.2385, allocations: 4 kB / 0.7317 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2385, allocations: 3.938 kB / 0.7318 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.239, allocations: 315.4 kB / 0.7321 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.239, allocations: 0 / 0.7321 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2391, allocations: 15.98 kB / 0.7321 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2391, allocations: 0 / 0.7321 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2392, allocations: 0 / 0.7321 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2392, allocations: 4 kB / 0.7321 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2392, allocations: 0 / 0.7321 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.2394, allocations: 194 kB / 0.7323 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.2395, allocations: 89.03 kB / 0.7323 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2395, allocations: 0 / 0.7323 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2397, allocations: 0 / 0.7323 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.2397, allocations: 11.94 kB / 0.7324 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.2397, allocations: 8.188 kB / 0.7324 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.2398, allocations: 79.34 kB / 0.7324 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2398, allocations: 0 / 0.7324 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003696/0.2402, allocations: 23.94 kB / 0.7325 GB, free: 5.254 MB / 0.5573 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.0006958/0.2409, allocations: 0.815 MB / 0.7333 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.241, allocations: 35.92 kB / 0.7333 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2411, allocations: 0 / 0.7333 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.2411, allocations: 16 kB / 0.7333 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2413, allocations: 10.58 kB / 0.7333 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2424, allocations: 499.8 kB / 0.7338 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.2428, allocations: 0.6849 MB / 0.7345 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.794e-05/0.2429, allocations: 4 kB / 0.7345 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.243, allocations: 11.44 kB / 0.7345 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/0.243, allocations: 0 / 0.7345 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.2657, allocations: 1.392 MB / 0.7358 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.2661, allocations: 230.8 kB / 0.7361 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/2.767, allocations: 7.656 kB / 0.7361 GB, free: 1.598 MB / 0.5573 GB