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.004435/0.004439, allocations: 239.4 kB / 15.81 MB, free: 6.277 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.001133/0.001133, allocations: 180.3 kB / 16.69 MB, free: 5.449 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.734/3.734, allocations: 389.1 MB / 406.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.834/3.834, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004707, allocations: 11.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001562/0.1615, allocations: 1.178 MB / 1.106 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.1622, allocations: 335.8 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.453e-05/0.1623, allocations: 0 / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1623, allocations: 7.922 kB / 1.106 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.1624, allocations: 6.688 kB / 1.106 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.1628, allocations: 73.03 kB / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.542e-05/0.1629, allocations: 39.86 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.163, allocations: 4 kB / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.163, allocations: 24.59 kB / 1.106 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.1631, allocations: 27.84 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1631, allocations: 3.062 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.1634, allocations: 171.6 kB / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.1635, allocations: 15.97 kB / 1.106 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.1635, allocations: 33.64 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1637, allocations: 68.12 kB / 1.107 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1637, allocations: 0 / 1.107 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1637, allocations: 0 / 1.107 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1637, allocations: 0 / 1.107 GB, free: 40.1 MB / 0.6042 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.0006191/0.1644, allocations: 378.3 kB / 1.107 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1644, allocations: 8.031 kB / 1.107 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1645, allocations: 11.86 kB / 1.107 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.067e-05/0.1646, allocations: 171.1 kB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.1646, allocations: 0.7188 kB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1646, allocations: 12 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.165, allocations: 80.78 kB / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.165, allocations: 3.938 kB / 1.107 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.165, allocations: 10.08 kB / 1.107 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.165, allocations: 3.953 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.1654, allocations: 59.11 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.1661, allocations: 327.7 kB / 1.108 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.1666, allocations: 93.27 kB / 1.108 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1668, allocations: 29 kB / 1.108 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1668, allocations: 3.984 kB / 1.108 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1669, allocations: 46.02 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.1669, allocations: 0 / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002314/0.1692, allocations: 0.675 MB / 1.108 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.1692, allocations: 51.41 kB / 1.108 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.1693, allocations: 102.8 kB / 1.109 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1694, allocations: 25.7 kB / 1.109 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.1694, allocations: 93.56 kB / 1.109 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1694, allocations: 31.47 kB / 1.109 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.1695, allocations: 4 kB / 1.109 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.1695, allocations: 321.7 kB / 1.109 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1697, allocations: 39.91 kB / 1.109 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.17, allocations: 31.98 kB / 1.109 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.1702, allocations: 46.89 kB / 1.109 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1702, allocations: 3.953 kB / 1.109 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00052/0.1708, allocations: 122.1 kB / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1708, allocations: 7.031 kB / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1708, allocations: 0 / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1708, allocations: 0 / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.1711, allocations: 31.92 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1711, allocations: 0 / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1712, allocations: 7.984 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1713, allocations: 8.75 kB / 1.109 GB, free: 37.04 MB / 0.6042 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 8.208e-05/0.1714, allocations: 117.6 kB / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.1714, allocations: 11.86 kB / 1.109 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.172, allocations: 134 kB / 1.11 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1721, allocations: 0 / 1.11 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1721, allocations: 7.094 kB / 1.11 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.1721, allocations: 81.11 kB / 1.11 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1721, allocations: 0 / 1.11 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.1724, allocations: 11.98 kB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.1724, allocations: 9.625 kB / 1.11 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006839/0.1731, allocations: 215.2 kB / 1.11 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007917/0.1739, allocations: 339.9 kB / 1.11 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002307/0.1742, allocations: 40 kB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.1742, allocations: 83.28 kB / 1.11 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of Backend: time 5.81e-07/0.1742, allocations: 3.344 kB / 1.11 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007771/0.175, allocations: 181.4 kB / 1.11 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007785/0.1758, allocations: 0.8072 MB / 1.111 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.004809/0.1806, allocations: 1.261 MB / 1.112 GB, free: 33.82 MB / 0.6042 GB