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_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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004192/0.004191, allocations: 229.7 kB / 15.82 MB, free: 6.301 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.00115/0.00115, allocations: 178.4 kB / 16.71 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.986/3.986, allocations: 389.1 MB / 406.5 MB, free: 11.82 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.904/3.904, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004764, allocations: 16.5 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1748, allocations: 98.73 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.747/0.9219, allocations: 126.1 MB / 1.228 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.9223, allocations: 90.77 kB / 1.228 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02128/0.9436, allocations: 4.263 MB / 1.232 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9436, allocations: 0 / 1.232 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.9436, allocations: 0 / 1.232 GB, free: 24.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005523/0.9442, allocations: 380.6 kB / 1.232 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.9443, allocations: 12.03 kB / 1.232 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.9443, allocations: 6.344 kB / 1.232 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.9444, allocations: 168.6 kB / 1.233 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.9445, allocations: 4 kB / 1.233 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.9445, allocations: 8.234 kB / 1.233 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.9449, allocations: 86.95 kB / 1.233 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.9449, allocations: 3.906 kB / 1.233 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.9449, allocations: 3.25 kB / 1.233 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.9449, allocations: 6.062 kB / 1.233 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.9454, allocations: 56.78 kB / 1.233 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.9461, allocations: 331.8 kB / 1.233 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.9466, allocations: 87.69 kB / 1.233 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.9468, allocations: 32.53 kB / 1.233 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.9468, allocations: 8.141 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.9469, allocations: 42.78 kB / 1.233 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.9469, allocations: 0 / 1.233 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002451/0.9493, allocations: 0.6656 MB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.9494, allocations: 56.2 kB / 1.234 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.9495, allocations: 100.3 kB / 1.234 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.9495, allocations: 28.89 kB / 1.234 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.9496, allocations: 89.25 kB / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.9496, allocations: 40.5 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.9497, allocations: 0 / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9498, allocations: 316.5 kB / 1.234 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.95, allocations: 40.19 kB / 1.235 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.9503, allocations: 33.38 kB / 1.235 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.9505, allocations: 40.67 kB / 1.235 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.9505, allocations: 0 / 1.235 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000589/0.9511, allocations: 136.4 kB / 1.235 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9512, allocations: 4 kB / 1.235 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9512, allocations: 0.7031 kB / 1.235 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9512, allocations: 4 kB / 1.235 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.9515, allocations: 25.06 kB / 1.235 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.9515, allocations: 4 kB / 1.235 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.9516, allocations: 9.172 kB / 1.235 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.9517, allocations: 7.25 kB / 1.235 GB, free: 22.16 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 (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.0001229/0.9518, allocations: 110.3 kB / 1.235 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.9518, allocations: 16.55 kB / 1.235 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.9525, allocations: 142.5 kB / 1.235 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.9525, allocations: 4.516 kB / 1.235 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9525, allocations: 0 / 1.235 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.9525, allocations: 1.969 kB / 1.235 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008294/0.9534, allocations: 387.8 kB / 1.235 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9534, allocations: 0.6094 kB / 1.235 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.9537, allocations: 31.55 kB / 1.235 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.9537, allocations: 1.328 kB / 1.235 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.9537, allocations: 8.453 kB / 1.235 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.9537, allocations: 4.938 kB / 1.235 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9537, allocations: 0 / 1.235 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/0.9546, allocations: 264.5 kB / 1.236 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.9546, allocations: 81.62 kB / 1.236 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.9547, allocations: 0.5625 kB / 1.236 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.9549, allocations: 14.03 kB / 1.236 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.9549, allocations: 6.484 kB / 1.236 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.955, allocations: 5.984 kB / 1.236 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004545/0.9554, allocations: 80.27 kB / 1.236 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9554, allocations: 0.75 kB / 1.236 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004313/0.9559, allocations: 44.42 kB / 1.236 GB, free: 37.08 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002861/0.9562, allocations: 151.7 kB / 1.236 GB, free: 36.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005494/0.9568, allocations: 91.14 kB / 1.236 GB, free: 36.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9568, allocations: 2.844 kB / 1.236 GB, free: 36.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.957, allocations: 50.59 kB / 1.236 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.9574, allocations: 9.484 kB / 1.236 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.9583, allocations: 387.3 kB / 1.237 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.9586, allocations: 0.6934 MB / 1.237 GB, free: 35.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.9587, allocations: 18.09 kB / 1.237 GB, free: 35.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.9588, allocations: 11.44 kB / 1.237 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of SimCode: time 1.163e-06/0.9588, allocations: 0 / 1.237 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.004567/0.9634, allocations: 1.068 MB / 1.238 GB, free: 35.31 MB / 0.6355 GB