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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00895/0.00895, allocations: 110.6 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.001113/0.001113, allocations: 181.6 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.901/1.901, allocations: 194.6 MB / 211.3 MB, free: 10.8 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.408/2.408, allocations: 236.2 MB / 492.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004911, allocations: 12 kB / 0.5869 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5398, allocations: 98.71 MB / 0.6833 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.7228, allocations: 125.2 MB / 0.8056 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.7231, allocations: 79.95 kB / 0.8057 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.7357, allocations: 2.828 MB / 0.8085 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.403e-06/0.7358, allocations: 0 / 0.8085 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.209e-06/0.7358, allocations: 0 / 0.8085 GB, free: 14.04 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.0003895/0.7362, allocations: 351.2 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7362, allocations: 8.031 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.7363, allocations: 11.95 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.7364, allocations: 159.1 kB / 0.809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.7364, allocations: 0 / 0.809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.7365, allocations: 4 kB / 0.809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.7366, allocations: 41.62 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.217e-06/0.7366, allocations: 0 / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7366, allocations: 0 / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-06/0.7366, allocations: 3.984 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.7367, allocations: 15.98 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.7369, allocations: 169.6 kB / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.7371, allocations: 46.56 kB / 0.8092 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.7372, allocations: 0 / 0.8092 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.7372, allocations: 38.44 kB / 0.8093 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.879e-06/0.7372, allocations: 0 / 0.8093 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0007042/0.7379, allocations: 306.3 kB / 0.8096 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.738, allocations: 59.41 kB / 0.8096 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.7381, allocations: 88.98 kB / 0.8097 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.7381, allocations: 29.7 kB / 0.8097 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.7382, allocations: 80.14 kB / 0.8098 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.7382, allocations: 15.72 kB / 0.8098 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-06/0.7382, allocations: 0 / 0.8098 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7384, allocations: 326.8 kB / 0.8101 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.7385, allocations: 8 kB / 0.8101 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.7385, allocations: 12 kB / 0.8102 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.7386, allocations: 16 kB / 0.8102 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.969e-06/0.7386, allocations: 3.984 kB / 0.8102 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001439/0.7387, allocations: 61.62 kB / 0.8102 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7387, allocations: 8 kB / 0.8102 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.913e-06/0.7388, allocations: 0 / 0.8102 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7388, allocations: 3.984 kB / 0.8102 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.7389, allocations: 8 kB / 0.8103 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.554e-06/0.7389, allocations: 4 kB / 0.8103 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.7389, allocations: 0 / 0.8103 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.592e-06/0.7389, allocations: 8.062 kB / 0.8103 GB, free: 11.93 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 9.592e-05/0.739, allocations: 113.8 kB / 0.8104 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.7391, allocations: 4 kB / 0.8104 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.7393, allocations: 81.42 kB / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.779e-06/0.7393, allocations: 4 kB / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-06/0.7393, allocations: 0 / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.601e-06/0.7393, allocations: 0 / 0.8105 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.7397, allocations: 319.4 kB / 0.8108 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-06/0.7397, allocations: 0 / 0.8108 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.7398, allocations: 11.98 kB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.053e-06/0.7399, allocations: 4 kB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.7399, allocations: 0 / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.661e-06/0.7399, allocations: 0 / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.037e-06/0.7399, allocations: 0 / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.7402, allocations: 198 kB / 0.811 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.7402, allocations: 81.05 kB / 0.811 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.7403, allocations: 8.031 kB / 0.8111 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.7404, allocations: 0.5156 kB / 0.8111 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.7404, allocations: 11.94 kB / 0.8111 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.7404, allocations: 0 / 0.8111 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.7405, allocations: 83.27 kB / 0.8111 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.6e-07/0.7405, allocations: 0 / 0.8111 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003513/0.7409, allocations: 28 kB / 0.8112 GB, free: 10.88 MB / 0.6355 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.0002135/0.7411, allocations: 135.2 kB / 0.8113 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.7412, allocations: 31.94 kB / 0.8113 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.259e-06/0.7412, allocations: 0 / 0.8113 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.7413, allocations: 19.98 kB / 0.8113 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.7415, allocations: 4 kB / 0.8114 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.742, allocations: 223 kB / 0.8116 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.7424, allocations: 0.6887 MB / 0.8122 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.7424, allocations: 7.938 kB / 0.8122 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.7424, allocations: 11.44 kB / 0.8123 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of SimCode: time 1.521e-06/0.7425, allocations: 0 / 0.8123 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of Templates: time 0.003243/0.7457, allocations: 0.5912 MB / 0.8128 GB, free: 9.125 MB / 0.6355 GB