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_dp_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.01109/0.01109, allocations: 106.3 kB / 15.05 MB, free: 5.98 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.001166/0.001166, allocations: 183.2 kB / 15.94 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.2/package.mo): time 2.039/2.039, allocations: 194.5 MB / 211.2 MB, free: 11.28 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.396/2.396, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006475/0.0006473, allocations: 8 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6886, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.9146, allocations: 125.5 MB / 0.806 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.9149, allocations: 79.89 kB / 0.806 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02264/0.9376, allocations: 4.497 MB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9376, allocations: 0 / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.9376, allocations: 0 / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004918/0.9382, allocations: 351.3 kB / 0.8108 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.9382, allocations: 16.03 kB / 0.8108 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.9383, allocations: 34.56 kB / 0.8108 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.9383, allocations: 7.953 kB / 0.8108 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.9385, allocations: 166.9 kB / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.9385, allocations: 0 / 0.811 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.9385, allocations: 8 kB / 0.811 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.9387, allocations: 53.61 kB / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.9387, allocations: 0 / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.9388, allocations: 3.938 kB / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.9388, allocations: 4 kB / 0.811 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.9389, allocations: 19.98 kB / 0.8111 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.9391, allocations: 169.6 kB / 0.8112 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.9393, allocations: 62.55 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.9393, allocations: 3.938 kB / 0.8113 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.9394, allocations: 38.56 kB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.9394, allocations: 0 / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0016/0.941, allocations: 0.584 MB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.9411, allocations: 51.41 kB / 0.8119 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.9412, allocations: 100.9 kB / 0.812 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.9412, allocations: 29.83 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.9413, allocations: 80.14 kB / 0.8121 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.9413, allocations: 43.36 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.9413, allocations: 0 / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9415, allocations: 318.8 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.9416, allocations: 19.98 kB / 0.8125 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/0.9416, allocations: 20 kB / 0.8125 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.9417, allocations: 23.98 kB / 0.8125 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9417, allocations: 0 / 0.8125 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.942, allocations: 101.6 kB / 0.8126 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.942, allocations: 8 kB / 0.8126 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.942, allocations: 0 / 0.8126 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9421, allocations: 0 / 0.8126 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.9422, allocations: 19.98 kB / 0.8127 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9423, allocations: 4 kB / 0.8127 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.9423, allocations: 4 kB / 0.8127 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.9423, allocations: 7.953 kB / 0.8127 GB, free: 9.465 MB / 0.6355 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.0001033/0.9425, allocations: 113.8 kB / 0.8128 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.9425, allocations: 11.91 kB / 0.8128 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.9428, allocations: 105.6 kB / 0.8129 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.9428, allocations: 4 kB / 0.8129 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9428, allocations: 0 / 0.8129 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.9428, allocations: 0 / 0.8129 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.9434, allocations: 354.5 kB / 0.8132 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.9434, allocations: 0 / 0.8132 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.9436, allocations: 23.98 kB / 0.8133 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9436, allocations: 0 / 0.8133 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.9437, allocations: 4 kB / 0.8133 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9437, allocations: 0 / 0.8133 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.9437, allocations: 4 kB / 0.8133 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.9441, allocations: 223.5 kB / 0.8135 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.9441, allocations: 77.11 kB / 0.8136 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.9442, allocations: 8.016 kB / 0.8136 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.9443, allocations: 4 kB / 0.8136 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.9443, allocations: 8.062 kB / 0.8136 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.9444, allocations: 11.98 kB / 0.8136 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.9444, allocations: 79.23 kB / 0.8137 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9444, allocations: 0 / 0.8137 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003937/0.9448, allocations: 47.94 kB / 0.8137 GB, free: 8.293 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0008631/0.9457, allocations: 0.787 MB / 0.8145 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.9459, allocations: 63.91 kB / 0.8145 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9459, allocations: 0 / 0.8145 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.946, allocations: 35.92 kB / 0.8146 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.9462, allocations: 10.84 kB / 0.8146 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.9476, allocations: 0.6593 MB / 0.8152 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.948, allocations: 0.6942 MB / 0.8159 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.707e-05/0.9481, allocations: 12 kB / 0.8159 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.9481, allocations: 19.44 kB / 0.8159 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.9482, allocations: 0 / 0.8159 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.9733, allocations: 1.765 MB / 0.8177 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003334/0.9737, allocations: 222.1 kB / 0.8179 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.39, allocations: 3.938 kB / 0.8179 GB, free: 4.078 MB / 0.6355 GB