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.009094/0.009094, allocations: 105.7 kB / 15.06 MB, free: 5.559 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.001117/0.001116, allocations: 176.6 kB / 15.94 MB, free: 5.523 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 1.852/1.852, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.496/2.496, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004639, allocations: 12 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5966/0.5971, allocations: 98.72 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001909/0.5991, allocations: 0.9824 MB / 0.6843 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.6001, allocations: 305.9 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.6001, allocations: 1.094 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.6002, allocations: 0.8438 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.6002, allocations: 3.984 kB / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.6008, allocations: 60.89 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.6009, allocations: 16.98 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.6009, allocations: 5.25 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.601, allocations: 5.359 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.6011, allocations: 13.42 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.6011, allocations: 5 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.6017, allocations: 178.1 kB / 0.6849 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.6017, allocations: 6.359 kB / 0.6849 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.6018, allocations: 32.17 kB / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.602, allocations: 49.19 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.909e-06/0.602, allocations: 0 / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.337e-06/0.6021, allocations: 0 / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.416e-06/0.6021, allocations: 0 / 0.685 GB, free: 15.77 MB / 0.5261 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.0004061/0.6025, allocations: 334.5 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6026, allocations: 8.188 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.6026, allocations: 9.656 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.6028, allocations: 173.8 kB / 0.6855 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.6028, allocations: 1.828 kB / 0.6855 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.6028, allocations: 6.062 kB / 0.6855 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.603, allocations: 39.62 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.603, allocations: 0 / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.6031, allocations: 8.938 kB / 0.6855 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-06/0.6031, allocations: 0 / 0.6855 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.6032, allocations: 15.83 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.6034, allocations: 163.8 kB / 0.6857 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.6037, allocations: 40.62 kB / 0.6857 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6037, allocations: 0 / 0.6857 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.6038, allocations: 35.91 kB / 0.6858 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.709e-06/0.6038, allocations: 0 / 0.6858 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0009486/0.6048, allocations: 304.7 kB / 0.686 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.6048, allocations: 52.91 kB / 0.6861 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.6049, allocations: 99.92 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.6049, allocations: 27.05 kB / 0.6862 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.605, allocations: 80.14 kB / 0.6863 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.605, allocations: 23.92 kB / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-06/0.6051, allocations: 0 / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.6051, allocations: 321.5 kB / 0.6866 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.6052, allocations: 15.95 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.6053, allocations: 11.73 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.994e-05/0.6054, allocations: 12.48 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-06/0.6054, allocations: 0 / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002197/0.6056, allocations: 71.91 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6057, allocations: 5.188 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.639e-06/0.6057, allocations: 0 / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6057, allocations: 5.406 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.6058, allocations: 10.67 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6059, allocations: 1.406 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.6059, allocations: 4.656 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.6059, allocations: 2.5 kB / 0.6868 GB, free: 13.9 MB / 0.5261 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 7.887e-05/0.606, allocations: 115.8 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.6061, allocations: 2.562 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.6063, allocations: 76.86 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.838e-06/0.6064, allocations: 1.281 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.487e-06/0.6064, allocations: 0 / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6064, allocations: 4.453 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.6068, allocations: 312.7 kB / 0.6873 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6069, allocations: 2.078 kB / 0.6873 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.607, allocations: 18.52 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.997e-06/0.607, allocations: 4.984 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6071, allocations: 3.047 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6071, allocations: 0 / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-06/0.6071, allocations: 1.094 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.6074, allocations: 193.8 kB / 0.6875 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.6075, allocations: 85.73 kB / 0.6875 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.6075, allocations: 2.266 kB / 0.6875 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.6077, allocations: 5.797 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.6078, allocations: 7.578 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.6078, allocations: 6.453 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.6078, allocations: 78.95 kB / 0.6876 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.74e-07/0.6078, allocations: 0 / 0.6876 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005292/0.6084, allocations: 27.77 kB / 0.6877 GB, free: 13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001827/0.6086, allocations: 131.6 kB / 0.6878 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.6087, allocations: 30.92 kB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.202e-06/0.6087, allocations: 0 / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.6088, allocations: 22.06 kB / 0.6878 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.609, allocations: 1.594 kB / 0.6878 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.6094, allocations: 220.5 kB / 0.6881 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.6096, allocations: 0.6874 MB / 0.6887 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.6096, allocations: 4.344 kB / 0.6887 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.6097, allocations: 10.81 kB / 0.6887 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.318e-06/0.6097, allocations: 1.188 kB / 0.6887 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.003303/0.613, allocations: 0.6189 MB / 0.6893 GB, free: 11.9 MB / 0.5261 GB