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.004206/0.004211, allocations: 230.8 kB / 15.82 MB, free: 6.293 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.001076/0.001076, allocations: 171.5 kB / 16.7 MB, free: 5.453 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.843/3.843, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.826/3.826, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000663/0.0006633, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1738, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7637/0.9376, allocations: 125.3 MB / 1.227 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.9379, allocations: 83.5 kB / 1.227 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01828/0.9562, allocations: 3.991 MB / 1.231 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9563, allocations: 0 / 1.231 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.9563, allocations: 3.375 kB / 1.231 GB, free: 25.57 MB / 0.6198 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.0003492/0.9567, allocations: 345.6 kB / 1.231 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.9567, allocations: 8.781 kB / 1.231 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.9568, allocations: 10.91 kB / 1.231 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.076e-05/0.9569, allocations: 167.5 kB / 1.232 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.9569, allocations: 0 / 1.232 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.9569, allocations: 7.812 kB / 1.232 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.9571, allocations: 35.8 kB / 1.232 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.9571, allocations: 4 kB / 1.232 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.9571, allocations: 3.875 kB / 1.232 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.9571, allocations: 0 / 1.232 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.9572, allocations: 6.484 kB / 1.232 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.9573, allocations: 168.6 kB / 1.232 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.9576, allocations: 46.36 kB / 1.232 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.9576, allocations: 20.03 kB / 1.232 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.9577, allocations: 0.7031 kB / 1.232 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.9577, allocations: 37.38 kB / 1.232 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.9577, allocations: 1.125 kB / 1.232 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006583/0.9584, allocations: 305.5 kB / 1.232 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.9584, allocations: 55.41 kB / 1.232 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.9585, allocations: 104.8 kB / 1.232 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.9585, allocations: 30.3 kB / 1.232 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.9586, allocations: 87.52 kB / 1.232 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.9586, allocations: 24.95 kB / 1.232 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.9586, allocations: 0 / 1.232 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9587, allocations: 315.3 kB / 1.233 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.9588, allocations: 13.16 kB / 1.233 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.9588, allocations: 9.188 kB / 1.233 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.9589, allocations: 13.69 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.9589, allocations: 0 / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000124/0.959, allocations: 70.58 kB / 1.233 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.9591, allocations: 4.516 kB / 1.233 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.9591, allocations: 0 / 1.233 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.9591, allocations: 0.6562 kB / 1.233 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.9592, allocations: 13.27 kB / 1.233 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9592, allocations: 3.938 kB / 1.233 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.9592, allocations: 0.6094 kB / 1.233 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.9593, allocations: 3.953 kB / 1.233 GB, free: 23.61 MB / 0.6198 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 7.365e-05/0.9593, allocations: 116.7 kB / 1.233 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.9594, allocations: 0.5156 kB / 1.233 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.9595, allocations: 75.73 kB / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9596, allocations: 0 / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9596, allocations: 0.7031 kB / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9596, allocations: 0 / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.9599, allocations: 322.5 kB / 1.233 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.9599, allocations: 0 / 1.233 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.9601, allocations: 14.02 kB / 1.233 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9601, allocations: 192 / 1.233 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.9601, allocations: 4.516 kB / 1.233 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9601, allocations: 11.88 kB / 1.233 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9601, allocations: 0.5625 kB / 1.233 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.9603, allocations: 176.9 kB / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.9604, allocations: 87.3 kB / 1.234 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.9604, allocations: 3.094 kB / 1.234 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.9605, allocations: 0.5156 kB / 1.234 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.9605, allocations: 5.125 kB / 1.234 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.9606, allocations: 7.734 kB / 1.234 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004645/0.961, allocations: 83.92 kB / 1.234 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.961, allocations: 0 / 1.234 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000345/0.9614, allocations: 21.45 kB / 1.234 GB, free: 38.69 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.0002074/0.9616, allocations: 140.4 kB / 1.234 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.9618, allocations: 30.28 kB / 1.234 GB, free: 38.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9618, allocations: 3.25 kB / 1.234 GB, free: 38.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.9618, allocations: 21.22 kB / 1.234 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.9621, allocations: 4 kB / 1.234 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.9626, allocations: 222.3 kB / 1.234 GB, free: 38.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.9629, allocations: 0.6849 MB / 1.235 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.483e-05/0.9629, allocations: 9.016 kB / 1.235 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.9629, allocations: 11.44 kB / 1.235 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.963, allocations: 0 / 1.235 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.003522/0.9665, allocations: 0.5952 MB / 1.235 GB, free: 37.32 MB / 0.6355 GB