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.01005/0.01005, allocations: 223 kB / 15.17 MB, free: 5.93 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.001105/0.001105, allocations: 181.2 kB / 16.06 MB, free: 5.828 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.399/3.399, allocations: 389.1 MB / 405.9 MB, free: 13.31 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.99/3.99, allocations: 472.3 MB / 0.9018 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004743, allocations: 19.94 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5572, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001476/0.5587, allocations: 1.18 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005797/0.5593, allocations: 333.6 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.5594, allocations: 0 / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.5594, allocations: 3.938 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.5595, allocations: 9.656 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.5598, allocations: 71.3 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.5599, allocations: 45.98 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.5599, allocations: 6.281 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.56, allocations: 20.62 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.5601, allocations: 24.23 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.5601, allocations: 4.406 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.5604, allocations: 170.1 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.5604, allocations: 7.969 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.5605, allocations: 39 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.5606, allocations: 69.44 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.886e-06/0.5606, allocations: 11.44 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5606, allocations: 3.312 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.674e-06/0.5606, allocations: 0 / 1.106 GB, free: 211.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004396/0.5611, allocations: 370.3 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.5611, allocations: 10.28 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.5612, allocations: 4.969 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.5613, allocations: 173.2 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.5613, allocations: 10.5 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.5613, allocations: 7.875 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.5616, allocations: 79.55 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5616, allocations: 0 / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.5616, allocations: 5.969 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5617, allocations: 7.062 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.5619, allocations: 57.92 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.5625, allocations: 328.7 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.5628, allocations: 94.3 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.563, allocations: 32.53 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.563, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.563, allocations: 38.33 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.747e-06/0.563, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001788/0.5648, allocations: 0.6786 MB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.5649, allocations: 52.62 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.5649, allocations: 99.17 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.565, allocations: 29.7 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.565, allocations: 88.86 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.565, allocations: 42.28 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-06/0.5651, allocations: 1.188 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.5651, allocations: 318.1 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.5653, allocations: 37.16 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.5655, allocations: 44.42 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.5656, allocations: 37.33 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-06/0.5656, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003881/0.566, allocations: 121.6 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5661, allocations: 9.047 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.756e-06/0.5661, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5661, allocations: 4.969 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.5663, allocations: 39.69 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.714e-06/0.5663, allocations: 3.938 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.5664, allocations: 6.594 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5664, allocations: 3.812 kB / 1.109 GB, free: 209.5 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.951e-05/0.5665, allocations: 113.9 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.5666, allocations: 17.44 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.567, allocations: 131.1 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-06/0.567, allocations: 1.5 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.295e-06/0.567, allocations: 2.438 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.532e-06/0.5671, allocations: 3.938 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006376/0.5677, allocations: 395.3 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.725e-06/0.5677, allocations: 3.953 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.5679, allocations: 30.59 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.936e-06/0.568, allocations: 1.281 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.568, allocations: 1.438 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.568, allocations: 3.938 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.258e-06/0.568, allocations: 4.734 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.5687, allocations: 259.7 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.5687, allocations: 87 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.5688, allocations: 5.312 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.569, allocations: 14.05 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.569, allocations: 2.688 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.569, allocations: 5.766 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.5691, allocations: 82 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.98e-07/0.5691, allocations: 0 / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003833/0.5695, allocations: 45.33 kB / 1.11 GB, free: 208.6 MB / 0.7292 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.000212/0.5697, allocations: 136.4 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.5701, allocations: 90.33 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.151e-06/0.5701, allocations: 1.312 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.5703, allocations: 54.33 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.5706, allocations: 12.02 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.5714, allocations: 384.8 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.5715, allocations: 0.6993 MB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.923e-05/0.5716, allocations: 14.19 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.5717, allocations: 13.7 kB / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.196e-06/0.5717, allocations: 0 / 1.111 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.004147/0.5759, allocations: 1.061 MB / 1.112 GB, free: 207.5 MB / 0.7292 GB