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_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009121/0.00912, allocations: 111 kB / 15.06 MB, free: 5.965 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.001087/0.001087, allocations: 182.7 kB / 15.94 MB, free: 5.93 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 1.869/1.869, allocations: 194.5 MB / 211.2 MB, free: 11.04 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.224/2.224, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 12 kB / 0.587 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5437, allocations: 98.7 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.7266, allocations: 125.3 MB / 0.8057 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.727, allocations: 79.95 kB / 0.8058 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.7452, allocations: 3.998 MB / 0.8097 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.149e-06/0.7453, allocations: 3.938 kB / 0.8097 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7453, allocations: 0 / 0.8097 GB, free: 12.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004359/0.7458, allocations: 351.2 kB / 0.81 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7458, allocations: 8.031 kB / 0.8101 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.7459, allocations: 11.95 kB / 0.8101 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.746, allocations: 167 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.746, allocations: 0 / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.7461, allocations: 4 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.7462, allocations: 37.69 kB / 0.8103 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.505e-06/0.7462, allocations: 0 / 0.8103 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7463, allocations: 0 / 0.8103 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7463, allocations: 0 / 0.8103 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.7463, allocations: 15.98 kB / 0.8103 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.7466, allocations: 169.5 kB / 0.8104 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.7468, allocations: 50.5 kB / 0.8105 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.7469, allocations: 0 / 0.8105 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.7469, allocations: 30.56 kB / 0.8105 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.7469, allocations: 0 / 0.8105 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000781/0.7477, allocations: 298.7 kB / 0.8108 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.7478, allocations: 59.41 kB / 0.8109 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.7479, allocations: 92.97 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.7479, allocations: 29.7 kB / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.748, allocations: 80.14 kB / 0.8111 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.748, allocations: 23.64 kB / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-06/0.748, allocations: 0 / 0.8111 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7482, allocations: 326.8 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.454e-05/0.7482, allocations: 8 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.7483, allocations: 15.94 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.7483, allocations: 19.98 kB / 0.8114 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-06/0.7484, allocations: 0 / 0.8114 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001479/0.7485, allocations: 53.7 kB / 0.8115 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7485, allocations: 8 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-06/0.7486, allocations: 0 / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7486, allocations: 3.984 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.727e-05/0.7487, allocations: 8 kB / 0.8115 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7487, allocations: 4 kB / 0.8115 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.7487, allocations: 0 / 0.8115 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.7488, allocations: 8 kB / 0.8115 GB, free: 10.78 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 (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.0001031/0.7489, allocations: 121.7 kB / 0.8116 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.7489, allocations: 0 / 0.8116 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.7491, allocations: 77.55 kB / 0.8117 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.628e-06/0.7491, allocations: 4 kB / 0.8117 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.263e-06/0.7491, allocations: 0 / 0.8117 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-06/0.7491, allocations: 128 / 0.8117 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.7496, allocations: 323.4 kB / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-06/0.7496, allocations: 0 / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.792e-05/0.7497, allocations: 15.98 kB / 0.812 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.7498, allocations: 0 / 0.812 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.7498, allocations: 0 / 0.812 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.26e-06/0.7498, allocations: 4.172 kB / 0.812 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.254e-06/0.7498, allocations: 4 kB / 0.812 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.7501, allocations: 198 kB / 0.8122 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.7502, allocations: 77.11 kB / 0.8123 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.7502, allocations: 8.031 kB / 0.8123 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.7503, allocations: 0 / 0.8123 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.7503, allocations: 11.94 kB / 0.8123 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.339e-06/0.7503, allocations: 0 / 0.8123 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.7504, allocations: 79.28 kB / 0.8124 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.94e-07/0.7504, allocations: 0 / 0.8124 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003728/0.7508, allocations: 24 kB / 0.8124 GB, free: 9.727 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002569/0.7511, allocations: 139.2 kB / 0.8126 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.7512, allocations: 35.92 kB / 0.8126 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.361e-06/0.7512, allocations: 0 / 0.8126 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.7513, allocations: 19.94 kB / 0.8126 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.7515, allocations: 0 / 0.8126 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.752, allocations: 229.8 kB / 0.8128 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.7524, allocations: 0.6809 MB / 0.8135 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.7525, allocations: 15.88 kB / 0.8135 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.7525, allocations: 11.44 kB / 0.8135 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of SimCode: time 1.565e-06/0.7525, allocations: 0 / 0.8135 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of Templates: time 0.003401/0.7559, allocations: 0.5757 MB / 0.8141 GB, free: 7.969 MB / 0.6355 GB