Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.006/4.006, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.288e-05, allocations: 4.812 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2127, allocations: 98.71 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.4027, allocations: 126 MB / 0.7578 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.403, allocations: 79.94 kB / 0.7579 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02005/0.423, allocations: 4.259 MB / 0.762 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.708e-06/0.4231, allocations: 0 / 0.762 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.077e-06/0.4231, allocations: 0 / 0.762 GB, free: 15.34 MB / 0.6511 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.0005221/0.4236, allocations: 376.8 kB / 0.7624 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4237, allocations: 8.031 kB / 0.7624 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.4237, allocations: 11.86 kB / 0.7624 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.4239, allocations: 167 kB / 0.7626 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.4239, allocations: 8 kB / 0.7626 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.424, allocations: 8 kB / 0.7626 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4242, allocations: 69.61 kB / 0.7627 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4242, allocations: 0 / 0.7627 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.4242, allocations: 4 kB / 0.7627 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-06/0.4242, allocations: 3.938 kB / 0.7627 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.4243, allocations: 31.98 kB / 0.7627 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.425, allocations: 332.7 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4252, allocations: 74.47 kB / 0.7631 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.4253, allocations: 16.86 kB / 0.7631 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.4253, allocations: 8 kB / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4254, allocations: 34.52 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.4254, allocations: 0 / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001283/0.4267, allocations: 0.568 MB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4267, allocations: 55.41 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.4268, allocations: 101 kB / 0.7638 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.4269, allocations: 25.7 kB / 0.7639 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.4269, allocations: 92.05 kB / 0.764 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.427, allocations: 35.45 kB / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.427, allocations: 0 / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4272, allocations: 318.8 kB / 0.7643 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.4273, allocations: 24 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.437e-05/0.4273, allocations: 23.94 kB / 0.7643 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.4274, allocations: 28.23 kB / 0.7644 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-06/0.4274, allocations: 4 kB / 0.7644 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002253/0.4277, allocations: 97.55 kB / 0.7645 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4277, allocations: 4 kB / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.665e-06/0.4277, allocations: 0 / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.4277, allocations: 4 kB / 0.7645 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.4279, allocations: 23.98 kB / 0.7645 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.428, allocations: 7.984 kB / 0.7645 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.081e-05/0.4281, allocations: 8 kB / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.4281, allocations: 12 kB / 0.7645 GB, free: 12.5 MB / 0.6511 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 () * 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 9.992e-05/0.4282, allocations: 108.9 kB / 0.7646 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.4283, allocations: 7.953 kB / 0.7646 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.4285, allocations: 113.5 kB / 0.7647 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-06/0.4286, allocations: 0 / 0.7647 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-06/0.4286, allocations: 3.938 kB / 0.7647 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-06/0.4286, allocations: 4 kB / 0.7647 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.4292, allocations: 370.4 kB / 0.7651 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.837e-06/0.4292, allocations: 3.984 kB / 0.7651 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.4294, allocations: 31.98 kB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4295, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4295, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-06/0.4295, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.4295, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.4299, allocations: 223.5 kB / 0.7653 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.4299, allocations: 85.09 kB / 0.7654 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.43, allocations: 0 / 0.7654 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4301, allocations: 15.98 kB / 0.7654 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.4302, allocations: 7.984 kB / 0.7655 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.4302, allocations: 3.938 kB / 0.7655 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.998e-05/0.4303, allocations: 87.45 kB / 0.7655 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.71e-07/0.4303, allocations: 0 / 0.7655 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003957/0.4307, allocations: 43.94 kB / 0.7656 GB, free: 11.31 MB / 0.6511 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 () * 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.0002885/0.431, allocations: 147.2 kB / 0.7657 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4312, allocations: 63.98 kB / 0.7658 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.219e-06/0.4312, allocations: 0 / 0.7658 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.4313, allocations: 35.94 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.4316, allocations: 8 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.4322, allocations: 237.7 kB / 0.766 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4326, allocations: 0.6965 MB / 0.7667 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.481e-05/0.4327, allocations: 16.61 kB / 0.7667 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.4327, allocations: 15.42 kB / 0.7668 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.583e-06/0.4327, allocations: 0 / 0.7668 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.004259/0.437, allocations: 1.025 MB / 0.7678 GB, free: 9.016 MB / 0.6511 GB