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.01046/0.01046, allocations: 220.4 kB / 15.17 MB, free: 6 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.001092/0.001092, allocations: 180.9 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.371/3.371, allocations: 389.1 MB / 405.9 MB, free: 13.36 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 4.021/4.021, allocations: 472.3 MB / 0.9017 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004733, allocations: 12 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.5521, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001216/0.5534, allocations: 0.9991 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006136/0.554, allocations: 346.6 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.554, allocations: 5.125 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.5541, allocations: 3.438 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.5541, allocations: 0 / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.5545, allocations: 67.62 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.5545, allocations: 28 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.5546, allocations: 2.5 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.5546, allocations: 15.05 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.5547, allocations: 16.67 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.5547, allocations: 2.562 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.555, allocations: 168.8 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.555, allocations: 4.5 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.5551, allocations: 29.14 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.5552, allocations: 58.39 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.116e-06/0.5552, allocations: 7.281 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5552, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.686e-06/0.5553, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 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.0002891/0.5555, allocations: 344.9 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.5556, allocations: 8.625 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.5556, allocations: 4.375 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.5557, allocations: 171.5 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5557, allocations: 4.469 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.5558, allocations: 10.94 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5559, allocations: 44.23 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5559, allocations: 0 / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5559, allocations: 4.516 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-06/0.556, allocations: 3 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.556, allocations: 34.42 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.5562, allocations: 161.9 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.5563, allocations: 60.91 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.5564, allocations: 24.27 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.5564, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.5564, allocations: 38.56 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.5564, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001136/0.5576, allocations: 0.5928 MB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5576, allocations: 55.34 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.209e-05/0.5577, allocations: 95.8 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.5577, allocations: 29.7 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.5577, allocations: 83.92 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.5578, allocations: 36.59 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-06/0.5578, allocations: 0 / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.5579, allocations: 326.6 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.5579, allocations: 21.23 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.558, allocations: 17.98 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.5581, allocations: 24.91 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-06/0.5581, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001841/0.5583, allocations: 94.34 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5583, allocations: 4.375 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.555e-06/0.5583, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5583, allocations: 1.344 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5585, allocations: 25.61 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.569e-06/0.5585, allocations: 2.625 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.5585, allocations: 5.656 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.5585, allocations: 3.094 kB / 1.108 GB, free: 209.6 MB / 0.7292 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 6.338e-05/0.5586, allocations: 116.5 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.5586, allocations: 6.656 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.5589, allocations: 122.2 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-06/0.5589, allocations: 0 / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.195e-06/0.5589, allocations: 0 / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.653e-06/0.5589, allocations: 2.484 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.5593, allocations: 346.3 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-06/0.5593, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.5595, allocations: 24.05 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.106e-06/0.5595, allocations: 8.125 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5595, allocations: 1.094 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.233e-06/0.5595, allocations: 4.422 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5595, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.5598, allocations: 221.1 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.5599, allocations: 81.69 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.5599, allocations: 5.344 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.56, allocations: 4.891 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.56, allocations: 5.453 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.5601, allocations: 14.23 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.5601, allocations: 78.12 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-06/0.5601, allocations: 0 / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003548/0.5605, allocations: 45.77 kB / 1.109 GB, free: 208.7 MB / 0.7292 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.0001956/0.5607, allocations: 132.2 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.5609, allocations: 57.28 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.782e-06/0.5609, allocations: 5.25 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.561, allocations: 32.59 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.5613, allocations: 6.625 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.5618, allocations: 335 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.562, allocations: 0.6911 MB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.921e-05/0.562, allocations: 13.3 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.5621, allocations: 12.94 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/0.5621, allocations: 0 / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.003729/0.5658, allocations: 0.8997 MB / 1.111 GB, free: 207.7 MB / 0.7292 GB