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_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004778/0.004778, allocations: 236.6 kB / 15.8 MB, free: 6.316 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.001134/0.001134, allocations: 179.1 kB / 16.68 MB, free: 5.473 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.895/3.895, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.836/3.836, allocations: 472.3 MB / 0.9024 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.00051, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1694, allocations: 98.73 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001259/0.1707, allocations: 0.9845 MB / 1.106 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006114/0.1713, allocations: 308.7 kB / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.1713, allocations: 4 kB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.1714, allocations: 3.406 kB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.1714, allocations: 3.938 kB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1718, allocations: 63.72 kB / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.1719, allocations: 15.94 kB / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.1719, allocations: 3.984 kB / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.172, allocations: 7.938 kB / 1.106 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.172, allocations: 8 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.172, allocations: 3.5 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.1724, allocations: 171.6 kB / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.1724, allocations: 0 / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.1724, allocations: 29.64 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1726, allocations: 56.16 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1726, allocations: 3.938 kB / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1726, allocations: 0 / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1726, allocations: 0 / 1.106 GB, free: 40.44 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003137/0.1729, allocations: 342.3 kB / 1.107 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.173, allocations: 8.031 kB / 1.107 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.173, allocations: 3.953 kB / 1.107 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.665e-05/0.1731, allocations: 167.1 kB / 1.107 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1731, allocations: 0 / 1.107 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1732, allocations: 0 / 1.107 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1733, allocations: 46.84 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1733, allocations: 0 / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1733, allocations: 3.312 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1733, allocations: 3.953 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.634e-05/0.1734, allocations: 15.94 kB / 1.107 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.1735, allocations: 153.7 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1737, allocations: 39.92 kB / 1.107 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.1738, allocations: 24 kB / 1.107 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1738, allocations: 4 kB / 1.107 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.1739, allocations: 42.56 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1739, allocations: 0 / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006265/0.1745, allocations: 307.3 kB / 1.107 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.1745, allocations: 57.89 kB / 1.107 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.1746, allocations: 101.8 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1746, allocations: 25.7 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.1746, allocations: 80.14 kB / 1.108 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1747, allocations: 19.75 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.1747, allocations: 0 / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.1748, allocations: 322.1 kB / 1.108 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.1748, allocations: 8 kB / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.1748, allocations: 19.97 kB / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.1749, allocations: 8 kB / 1.108 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1749, allocations: 4 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001189/0.175, allocations: 61.61 kB / 1.108 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.175, allocations: 11.92 kB / 1.108 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1751, allocations: 8.625 kB / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1751, allocations: 0 / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.1752, allocations: 8.781 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1752, allocations: 0 / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.1752, allocations: 7.109 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1752, allocations: 4 kB / 1.108 GB, free: 38.33 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 (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.786e-05/0.1753, allocations: 109.8 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.1753, allocations: 4.562 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.1755, allocations: 77.52 kB / 1.108 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1755, allocations: 0 / 1.108 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1755, allocations: 2.5 kB / 1.108 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.1756, allocations: 95.72 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1756, allocations: 3.953 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.1757, allocations: 0 / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.1757, allocations: 4 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001894/0.1759, allocations: 143 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002075/0.1761, allocations: 247 kB / 1.109 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.241e-05/0.1762, allocations: 19.73 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.1762, allocations: 87.23 kB / 1.109 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.1762, allocations: 0 / 1.109 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.1767, allocations: 138.3 kB / 1.109 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004778/0.1772, allocations: 0.6585 MB / 1.11 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.003718/0.181, allocations: 0.8188 MB / 1.11 GB, free: 35.93 MB / 0.6042 GB