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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01615/0.01615, allocations: 112.7 kB / 15.06 MB, free: 6.016 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.001735/0.001735, allocations: 181.7 kB / 15.94 MB, free: 5.941 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.967/1.967, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.208/2.208, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 12 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5503, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.7351, allocations: 125.4 MB / 0.8059 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.7354, allocations: 87.92 kB / 0.8059 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02076/0.7562, allocations: 4.497 MB / 0.8103 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.403e-06/0.7563, allocations: 0 / 0.8103 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.537e-06/0.7563, allocations: 0 / 0.8103 GB, free: 12.27 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.000422/0.7567, allocations: 351.3 kB / 0.8107 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.7568, allocations: 8.031 kB / 0.8107 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.7568, allocations: 7.953 kB / 0.8107 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.757, allocations: 163 kB / 0.8108 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.757, allocations: 0 / 0.8108 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.757, allocations: 11.91 kB / 0.8109 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.7572, allocations: 53.61 kB / 0.8109 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7572, allocations: 0 / 0.8109 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.7572, allocations: 4 kB / 0.8109 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-06/0.7572, allocations: 4 kB / 0.8109 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.7573, allocations: 15.98 kB / 0.8109 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.7575, allocations: 165.6 kB / 0.8111 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.7577, allocations: 58.58 kB / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.7577, allocations: 4.141 kB / 0.8111 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.7578, allocations: 42.5 kB / 0.8112 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.898e-06/0.7578, allocations: 0 / 0.8112 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001426/0.7592, allocations: 0.5837 MB / 0.8118 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.7593, allocations: 51.41 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.7594, allocations: 92.98 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.7594, allocations: 33.77 kB / 0.8119 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.7594, allocations: 84.14 kB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.7595, allocations: 39.44 kB / 0.812 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-06/0.7595, allocations: 0 / 0.812 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7597, allocations: 322.8 kB / 0.8124 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.7598, allocations: 23.98 kB / 0.8124 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.7598, allocations: 23.98 kB / 0.8124 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.829e-05/0.7599, allocations: 20 kB / 0.8124 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-06/0.7599, allocations: 0 / 0.8124 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002294/0.7602, allocations: 101.5 kB / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7602, allocations: 8 kB / 0.8125 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.497e-06/0.7602, allocations: 4 kB / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7602, allocations: 3.984 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.7604, allocations: 19.98 kB / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.62e-06/0.7604, allocations: 4 kB / 0.8126 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.7604, allocations: 4 kB / 0.8126 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.7605, allocations: 4 kB / 0.8126 GB, free: 9.699 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.0001094/0.7606, allocations: 113.8 kB / 0.8127 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.7606, allocations: 15.84 kB / 0.8127 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.7609, allocations: 109.6 kB / 0.8128 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.224e-06/0.7609, allocations: 4 kB / 0.8128 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-06/0.7609, allocations: 0 / 0.8128 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.346e-06/0.7609, allocations: 0 / 0.8128 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.7615, allocations: 346.5 kB / 0.8131 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-06/0.7615, allocations: 0 / 0.8131 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.7616, allocations: 23.98 kB / 0.8131 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-06/0.7617, allocations: 4 kB / 0.8131 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.7617, allocations: 0 / 0.8131 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.004e-06/0.7617, allocations: 0 / 0.8131 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.951e-06/0.7617, allocations: 4 kB / 0.8132 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.7621, allocations: 219.3 kB / 0.8134 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.7621, allocations: 81.09 kB / 0.8134 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.7622, allocations: 8.031 kB / 0.8134 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7623, allocations: 0 / 0.8134 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.7623, allocations: 12.05 kB / 0.8135 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.7623, allocations: 4 kB / 0.8135 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.7624, allocations: 79.28 kB / 0.8135 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.55e-07/0.7624, allocations: 0 / 0.8135 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004056/0.7628, allocations: 47.89 kB / 0.8136 GB, free: 8.535 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.0002883/0.7631, allocations: 151.1 kB / 0.8137 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.7633, allocations: 63.91 kB / 0.8138 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7633, allocations: 4.094 kB / 0.8138 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.7634, allocations: 28 kB / 0.8138 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.7636, allocations: 6.844 kB / 0.8138 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.7643, allocations: 337 kB / 0.8141 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.7647, allocations: 0.6926 MB / 0.8148 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.379e-05/0.7648, allocations: 7.938 kB / 0.8148 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.7648, allocations: 15.44 kB / 0.8148 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of SimCode: time 1.708e-06/0.7648, allocations: 0 / 0.8148 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of Templates: time 0.003858/0.7687, allocations: 0.8501 MB / 0.8157 GB, free: 6.34 MB / 0.6355 GB