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.009107/0.009111, allocations: 110.3 kB / 15.06 MB, free: 5.562 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.001115/0.001115, allocations: 180.6 kB / 15.95 MB, free: 5.523 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.844/1.844, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.396/2.396, allocations: 236.2 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008121/0.0008123, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5629/0.5638, allocations: 98.72 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001489/0.5653, allocations: 1.169 MB / 0.6845 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006455/0.566, allocations: 323.4 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.566, allocations: 0 / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.566, allocations: 5.297 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.5661, allocations: 10.81 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.5665, allocations: 72.81 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.5666, allocations: 33.08 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.5666, allocations: 4.375 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.5667, allocations: 19.36 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.5668, allocations: 26.28 kB / 0.685 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.5668, allocations: 6.984 kB / 0.685 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.5672, allocations: 176.9 kB / 0.6851 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.5672, allocations: 20.91 kB / 0.6852 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.5672, allocations: 30.17 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.5674, allocations: 71.8 kB / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.586e-06/0.5674, allocations: 0 / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.265e-06/0.5674, allocations: 0 / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.006e-06/0.5674, allocations: 0 / 0.6853 GB, free: 15.54 MB / 0.5261 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.0004914/0.5679, allocations: 375.9 kB / 0.6856 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.568, allocations: 12.97 kB / 0.6856 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.5681, allocations: 6.719 kB / 0.6856 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/0.5681, allocations: 175.2 kB / 0.6858 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.5682, allocations: 2.906 kB / 0.6858 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.5682, allocations: 12.38 kB / 0.6858 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.5686, allocations: 78.88 kB / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5687, allocations: 0 / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.5687, allocations: 5.891 kB / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-06/0.5687, allocations: 4.938 kB / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.5692, allocations: 54.38 kB / 0.686 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.57, allocations: 331.2 kB / 0.6863 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.5704, allocations: 86.36 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.5704, allocations: 5.766 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5704, allocations: 36.5 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.258e-06/0.5705, allocations: 3.938 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.002733/0.5732, allocations: 0.679 MB / 0.6871 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5733, allocations: 57.3 kB / 0.6871 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.5734, allocations: 97.41 kB / 0.6872 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.5735, allocations: 30.7 kB / 0.6872 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.5735, allocations: 87.97 kB / 0.6873 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.5736, allocations: 42.52 kB / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.5736, allocations: 1.406 kB / 0.6874 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.5737, allocations: 321.8 kB / 0.6877 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.5741, allocations: 35.8 kB / 0.6877 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.5744, allocations: 32.98 kB / 0.6877 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.5747, allocations: 37.62 kB / 0.6878 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.491e-06/0.5748, allocations: 4 kB / 0.6878 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007708/0.5756, allocations: 130.8 kB / 0.6879 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.5756, allocations: 9.016 kB / 0.6879 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5756, allocations: 0 / 0.6879 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.5757, allocations: 2.172 kB / 0.6879 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.576, allocations: 30.97 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.413e-06/0.576, allocations: 4.656 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5762, allocations: 6.875 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.5762, allocations: 4.125 kB / 0.688 GB, free: 13.21 MB / 0.5261 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.000117/0.5763, allocations: 117.7 kB / 0.6881 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.5764, allocations: 6.781 kB / 0.6881 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.5771, allocations: 144.1 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.943e-06/0.5772, allocations: 2.172 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.405e-06/0.5772, allocations: 1.031 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5772, allocations: 0.5625 kB / 0.6882 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5782, allocations: 399 kB / 0.6886 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5783, allocations: 0 / 0.6886 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.5787, allocations: 31.2 kB / 0.6886 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.5787, allocations: 0 / 0.6886 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.4e-05/0.5787, allocations: 2.75 kB / 0.6886 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.5788, allocations: 2.078 kB / 0.6886 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.1e-06/0.5788, allocations: 0 / 0.6886 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009926/0.5798, allocations: 269.1 kB / 0.6889 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.5799, allocations: 84.42 kB / 0.689 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.5799, allocations: 10.14 kB / 0.689 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.5802, allocations: 12.16 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.5802, allocations: 6.062 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.5803, allocations: 3.719 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.5803, allocations: 83.86 kB / 0.6891 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.93e-07/0.5803, allocations: 0 / 0.6891 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000712/0.5811, allocations: 43.16 kB / 0.6891 GB, free: 12.27 MB / 0.5261 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.0003216/0.5814, allocations: 126.4 kB / 0.6892 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006569/0.5821, allocations: 95.44 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.307e-06/0.5821, allocations: 0.9688 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.5825, allocations: 45.64 kB / 0.6894 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.5829, allocations: 11.59 kB / 0.6894 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.5841, allocations: 385 kB / 0.6897 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.5843, allocations: 0.6993 MB / 0.6904 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.5844, allocations: 8.281 kB / 0.6904 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.5845, allocations: 18.23 kB / 0.6905 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of SimCode: time 2.518e-06/0.5845, allocations: 0 / 0.6905 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of Templates: time 0.00474/0.5893, allocations: 1.059 MB / 0.6915 GB, free: 11.04 MB / 0.5261 GB