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.01128/0.01128, allocations: 222.4 kB / 15.17 MB, free: 5.996 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.001055/0.001055, allocations: 176 kB / 16.06 MB, free: 5.871 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.517/3.517, allocations: 389.1 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.858/3.858, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004927, allocations: 12 kB / 1.008 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4746, allocations: 98.72 MB / 1.104 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001036/0.4757, allocations: 0.9805 MB / 1.105 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005596/0.4763, allocations: 340.2 kB / 1.105 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.4763, allocations: 0 / 1.105 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.4763, allocations: 7.922 kB / 1.105 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.4764, allocations: 0.9375 kB / 1.105 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.4767, allocations: 65.17 kB / 1.105 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.4768, allocations: 23.86 kB / 1.105 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.4768, allocations: 0 / 1.105 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.875e-05/0.4768, allocations: 7.984 kB / 1.105 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.4769, allocations: 16.45 kB / 1.105 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.4769, allocations: 0.9375 kB / 1.105 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.4772, allocations: 163.7 kB / 1.106 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.121e-06/0.4772, allocations: 7.875 kB / 1.106 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.4772, allocations: 30.61 kB / 1.106 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.4774, allocations: 45.2 kB / 1.106 GB, free: 9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.959e-06/0.4774, allocations: 0.8125 kB / 1.106 GB, free: 9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.846e-06/0.4774, allocations: 0 / 1.106 GB, free: 9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.604e-06/0.4774, allocations: 0 / 1.106 GB, free: 9 MB / 0.5105 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.0002742/0.4777, allocations: 340.7 kB / 1.106 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.4777, allocations: 8.031 kB / 1.106 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.4778, allocations: 9.203 kB / 1.106 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.13e-05/0.4778, allocations: 171 kB / 1.106 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4779, allocations: 4 kB / 1.106 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.4779, allocations: 9.188 kB / 1.106 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.075e-05/0.478, allocations: 41.62 kB / 1.106 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.282e-06/0.478, allocations: 0 / 1.106 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.478, allocations: 0.7812 kB / 1.106 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-06/0.478, allocations: 4 kB / 1.106 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.4781, allocations: 13.34 kB / 1.106 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.4782, allocations: 157.6 kB / 1.106 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.4784, allocations: 50.14 kB / 1.106 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.4785, allocations: 20.92 kB / 1.106 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4785, allocations: 7.938 kB / 1.106 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.4785, allocations: 30.56 kB / 1.107 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.917e-06/0.4785, allocations: 0 / 1.107 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005666/0.4791, allocations: 302.8 kB / 1.107 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.4791, allocations: 55.95 kB / 1.107 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.268e-05/0.4792, allocations: 94.83 kB / 1.107 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.4792, allocations: 29.7 kB / 1.107 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.4793, allocations: 85.77 kB / 1.107 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4793, allocations: 19.64 kB / 1.107 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-06/0.4793, allocations: 4 kB / 1.107 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.4794, allocations: 319.9 kB / 1.107 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.4794, allocations: 8 kB / 1.107 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.4794, allocations: 15.98 kB / 1.107 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.4795, allocations: 12.94 kB / 1.107 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-06/0.4795, allocations: 0 / 1.107 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001171/0.4796, allocations: 71.45 kB / 1.107 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4796, allocations: 4 kB / 1.107 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-06/0.4797, allocations: 0 / 1.107 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4797, allocations: 0 / 1.107 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.4797, allocations: 12 kB / 1.107 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.118e-06/0.4798, allocations: 5.594 kB / 1.108 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.4798, allocations: 4 kB / 1.108 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4798, allocations: 0 / 1.108 GB, free: 6.883 MB / 0.5105 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 5.436e-05/0.4799, allocations: 118.8 kB / 1.108 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.4799, allocations: 0 / 1.108 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.4801, allocations: 78.03 kB / 1.108 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-06/0.4801, allocations: 4.656 kB / 1.108 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4801, allocations: 0 / 1.108 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-06/0.4801, allocations: 1.438 kB / 1.108 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.4804, allocations: 319.5 kB / 1.108 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-06/0.4804, allocations: 0.7188 kB / 1.108 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.4805, allocations: 12 kB / 1.108 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.435e-06/0.4805, allocations: 7.312 kB / 1.108 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-06/0.4805, allocations: 0 / 1.108 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.351e-06/0.4805, allocations: 0 / 1.108 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.684e-06/0.4805, allocations: 4 kB / 1.108 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.4807, allocations: 180.3 kB / 1.108 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.4808, allocations: 84.55 kB / 1.108 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4808, allocations: 12.02 kB / 1.108 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.4809, allocations: 0 / 1.108 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.4809, allocations: 4 kB / 1.108 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-06/0.4809, allocations: 0 / 1.108 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.481, allocations: 79.8 kB / 1.108 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-07/0.481, allocations: 0 / 1.108 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003132/0.4813, allocations: 27.98 kB / 1.108 GB, free: 5.859 MB / 0.5105 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.0001469/0.4815, allocations: 129 kB / 1.109 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.4816, allocations: 35.92 kB / 1.109 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.54e-06/0.4816, allocations: 4 kB / 1.109 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.4816, allocations: 12.72 kB / 1.109 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.482, allocations: 5.375 kB / 1.109 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.4824, allocations: 227.9 kB / 1.109 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.4825, allocations: 0.6848 MB / 1.109 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.4825, allocations: 400 / 1.109 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.4826, allocations: 11.44 kB / 1.109 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of SimCode: time 2.988e-06/0.4826, allocations: 0 / 1.109 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of Templates: time 0.002994/0.4856, allocations: 0.6072 MB / 1.11 GB, free: 4.098 MB / 0.5105 GB