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_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005913/0.005918, allocations: 240.5 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.00172/0.00172, allocations: 184.7 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 4.239/4.239, allocations: 389.1 MB / 406.5 MB, free: 11.76 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.816/3.816, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004793, allocations: 16.2 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00187/0.2259, allocations: 0.9782 MB / 1.106 GB, free: 41.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.227, allocations: 340.1 kB / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.2271, allocations: 0 / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.2271, allocations: 3.938 kB / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.2272, allocations: 4 kB / 1.106 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.2278, allocations: 65.12 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.2279, allocations: 19.88 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.228, allocations: 7.469 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.228, allocations: 7.984 kB / 1.106 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.2281, allocations: 7.922 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2281, allocations: 4 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.2287, allocations: 159.7 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2287, allocations: 15.92 kB / 1.106 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.2288, allocations: 25.7 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.229, allocations: 56.16 kB / 1.106 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.229, allocations: 0 / 1.106 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.229, allocations: 3.344 kB / 1.106 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.229, allocations: 0 / 1.106 GB, free: 40.4 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.0004074/0.2295, allocations: 335.2 kB / 1.107 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.2295, allocations: 8.031 kB / 1.107 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.2296, allocations: 7.891 kB / 1.107 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2297, allocations: 159.1 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2298, allocations: 12 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.2298, allocations: 0 / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.23, allocations: 50.47 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.23, allocations: 3.844 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2301, allocations: 0 / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2301, allocations: 3.953 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.2302, allocations: 11.98 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.2304, allocations: 157.7 kB / 1.107 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.2307, allocations: 42.06 kB / 1.107 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.2307, allocations: 16.86 kB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.2308, allocations: 4.969 kB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2308, allocations: 34.64 kB / 1.107 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/0.2309, allocations: 4 kB / 1.107 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0009004/0.2318, allocations: 310.3 kB / 1.107 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.2318, allocations: 59.3 kB / 1.107 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.2319, allocations: 97.86 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2319, allocations: 25.7 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.232, allocations: 84.12 kB / 1.108 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.232, allocations: 19.75 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.2321, allocations: 0 / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.2322, allocations: 312.1 kB / 1.108 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.2322, allocations: 15.98 kB / 1.108 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.2323, allocations: 11.19 kB / 1.108 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.196e-05/0.2324, allocations: 12 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2324, allocations: 0 / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001935/0.2326, allocations: 77.67 kB / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2327, allocations: 4 kB / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2327, allocations: 0 / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2327, allocations: 4 kB / 1.108 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2329, allocations: 11.98 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.2329, allocations: 4.062 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.2329, allocations: 4.516 kB / 1.108 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.233, allocations: 10 kB / 1.108 GB, free: 38.29 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 8.594e-05/0.2331, allocations: 109.8 kB / 1.108 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.2331, allocations: 4 kB / 1.108 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.2334, allocations: 73.58 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2334, allocations: 0 / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2334, allocations: 0 / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.2335, allocations: 89.45 kB / 1.108 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2335, allocations: 8.641 kB / 1.108 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.2337, allocations: 4.109 kB / 1.108 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.2337, allocations: 7.125 kB / 1.108 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002651/0.234, allocations: 141 kB / 1.109 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002815/0.2343, allocations: 246.8 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.747e-05/0.2344, allocations: 16.92 kB / 1.109 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.2344, allocations: 87.23 kB / 1.109 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of Backend: time 8.51e-07/0.2344, allocations: 3.219 kB / 1.109 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007875/0.2352, allocations: 138.9 kB / 1.109 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006586/0.2359, allocations: 0.648 MB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.0056/0.2415, allocations: 0.8096 MB / 1.11 GB, free: 35.91 MB / 0.6042 GB