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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01586/0.01587, allocations: 220.2 kB / 15.17 MB, free: 5.992 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.001186/0.001186, allocations: 180.3 kB / 16.06 MB, free: 5.871 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.858/3.858, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.309/4.309, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006502, allocations: 8 kB / 1.008 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6208, allocations: 98.71 MB / 1.104 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001361/0.6223, allocations: 0.9884 MB / 1.105 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006545/0.6229, allocations: 317.7 kB / 1.105 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.623, allocations: 0 / 1.105 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.623, allocations: 0 / 1.105 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.6231, allocations: 3.938 kB / 1.105 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.6235, allocations: 59.73 kB / 1.105 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.6235, allocations: 20.48 kB / 1.105 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.6236, allocations: 2.438 kB / 1.105 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.6236, allocations: 7.938 kB / 1.105 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.6237, allocations: 11.97 kB / 1.105 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.6237, allocations: 0 / 1.105 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.624, allocations: 171.6 kB / 1.106 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.6241, allocations: 3.984 kB / 1.106 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.6241, allocations: 33.64 kB / 1.106 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.6242, allocations: 50.45 kB / 1.106 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6243, allocations: 0 / 1.106 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6243, allocations: 1 kB / 1.106 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.6243, allocations: 0 / 1.106 GB, free: 9.027 MB / 0.5105 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.0003387/0.6246, allocations: 332.3 kB / 1.106 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.6247, allocations: 8.031 kB / 1.106 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.6248, allocations: 40.66 kB / 1.106 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.6248, allocations: 0 / 1.106 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.6249, allocations: 174.9 kB / 1.106 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6249, allocations: 4 kB / 1.106 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.6249, allocations: 4 kB / 1.106 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.6251, allocations: 42.19 kB / 1.106 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6251, allocations: 0.6562 kB / 1.106 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.6251, allocations: 0 / 1.106 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.6251, allocations: 2.688 kB / 1.106 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.6252, allocations: 15.92 kB / 1.106 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.6253, allocations: 161.6 kB / 1.106 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.6256, allocations: 42.61 kB / 1.107 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.6256, allocations: 17.67 kB / 1.107 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.6257, allocations: 0.5938 kB / 1.107 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.6257, allocations: 35.92 kB / 1.107 GB, free: 8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.6257, allocations: 3.938 kB / 1.107 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0006567/0.6264, allocations: 306.8 kB / 1.107 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.6264, allocations: 52.09 kB / 1.107 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.6265, allocations: 106.4 kB / 1.107 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.6265, allocations: 25.7 kB / 1.107 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.6265, allocations: 80.86 kB / 1.107 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.6266, allocations: 24.97 kB / 1.107 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.6266, allocations: 0 / 1.107 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.6267, allocations: 318.8 kB / 1.107 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.6267, allocations: 19.98 kB / 1.107 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.052e-05/0.6267, allocations: 7.984 kB / 1.107 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.6268, allocations: 16 kB / 1.108 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6268, allocations: 0 / 1.108 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001218/0.6269, allocations: 61.69 kB / 1.108 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.627, allocations: 7.938 kB / 1.108 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.627, allocations: 0 / 1.108 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.627, allocations: 0 / 1.108 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.6271, allocations: 15.98 kB / 1.108 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6271, allocations: 0 / 1.108 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.6272, allocations: 4 kB / 1.108 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.6272, allocations: 4.516 kB / 1.108 GB, free: 6.871 MB / 0.5105 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 6.163e-05/0.6272, allocations: 113.8 kB / 1.108 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.6273, allocations: 7.906 kB / 1.108 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.6274, allocations: 73.58 kB / 1.108 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6275, allocations: 0 / 1.108 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6275, allocations: 0 / 1.108 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6275, allocations: 3.984 kB / 1.108 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.6278, allocations: 315.4 kB / 1.108 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6278, allocations: 0 / 1.108 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.6279, allocations: 19.92 kB / 1.108 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.6279, allocations: 0 / 1.108 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.628, allocations: 192 / 1.108 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.628, allocations: 8 kB / 1.108 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.628, allocations: 3.938 kB / 1.108 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.6282, allocations: 176.4 kB / 1.108 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.6282, allocations: 89.03 kB / 1.108 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.6283, allocations: 0 / 1.108 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6284, allocations: 4 kB / 1.108 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.6284, allocations: 11.92 kB / 1.108 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.6284, allocations: 7.938 kB / 1.108 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.6285, allocations: 75.28 kB / 1.108 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6285, allocations: 0 / 1.108 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003473/0.6288, allocations: 27.95 kB / 1.108 GB, free: 5.832 MB / 0.5105 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.0004539/0.6293, allocations: 0.7329 MB / 1.109 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.6294, allocations: 35.92 kB / 1.109 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6294, allocations: 0 / 1.109 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.6295, allocations: 24 kB / 1.109 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.6298, allocations: 4.609 kB / 1.109 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.6307, allocations: 491.5 kB / 1.11 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.6308, allocations: 0.6848 MB / 1.11 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.6309, allocations: 4.391 kB / 1.11 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.6309, allocations: 19.5 kB / 1.11 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.6309, allocations: 0 / 1.11 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.6506, allocations: 1.406 MB / 1.112 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/0.651, allocations: 238.8 kB / 1.112 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.109, allocations: 2.922 kB / 1.112 GB, free: 2.277 MB / 0.5105 GB