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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01707/0.01707, allocations: 107.1 kB / 15.06 MB, free: 5.551 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.002122/0.002123, allocations: 177.2 kB / 15.95 MB, free: 5.516 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 2.1/2.1, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.38/2.38, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006949/0.0006952, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7161, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001825/0.7179, allocations: 0.9812 MB / 0.6844 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.7188, allocations: 306.9 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.7188, allocations: 0 / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.7189, allocations: 5.703 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.7189, allocations: 0.5625 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.7194, allocations: 65.55 kB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.7195, allocations: 15.25 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.7195, allocations: 1.984 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.7196, allocations: 9.266 kB / 0.6848 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.7197, allocations: 13.06 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.7197, allocations: 1.188 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.7201, allocations: 174.1 kB / 0.685 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.7201, allocations: 10.16 kB / 0.685 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.7202, allocations: 32.64 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.7204, allocations: 48.28 kB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7204, allocations: 0 / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7204, allocations: 0 / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7204, allocations: 1.5 kB / 0.685 GB, free: 15.62 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.0004404/0.7208, allocations: 333.4 kB / 0.6854 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7209, allocations: 12.94 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.721, allocations: 32.61 kB / 0.6854 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.721, allocations: 1.594 kB / 0.6854 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.7211, allocations: 178.3 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.7211, allocations: 5.469 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.7212, allocations: 1.188 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.7213, allocations: 43.64 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.7213, allocations: 0.5625 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7213, allocations: 0 / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7214, allocations: 1.156 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.7214, allocations: 7.578 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.7216, allocations: 167.7 kB / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.7219, allocations: 43.66 kB / 0.6858 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.7219, allocations: 1.094 kB / 0.6858 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.722, allocations: 36.69 kB / 0.6859 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.722, allocations: 0 / 0.6859 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0007774/0.7228, allocations: 303.7 kB / 0.6862 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.7228, allocations: 57.45 kB / 0.6862 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.245e-05/0.7229, allocations: 103.1 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7229, allocations: 27.5 kB / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.723, allocations: 80.14 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.723, allocations: 28.25 kB / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.723, allocations: 0 / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.7231, allocations: 317.3 kB / 0.6868 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.7232, allocations: 11.7 kB / 0.6868 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.7232, allocations: 12.59 kB / 0.6868 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.7233, allocations: 15.58 kB / 0.6868 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7233, allocations: 0 / 0.6868 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001499/0.7234, allocations: 71.64 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.7235, allocations: 5.375 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7235, allocations: 0 / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7235, allocations: 1.406 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.7236, allocations: 12.3 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7236, allocations: 0 / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.7237, allocations: 0 / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.7237, allocations: 2.859 kB / 0.6869 GB, free: 13.72 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 6.843e-05/0.7238, allocations: 120.9 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.7238, allocations: 5.531 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.724, allocations: 75.88 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.724, allocations: 1.188 kB / 0.6871 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.724, allocations: 5.938 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.724, allocations: 0 / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.7244, allocations: 313.4 kB / 0.6874 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7244, allocations: 4.688 kB / 0.6874 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.7245, allocations: 10.38 kB / 0.6874 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.7246, allocations: 1.641 kB / 0.6874 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.7246, allocations: 6.281 kB / 0.6874 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7246, allocations: 0.6094 kB / 0.6874 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7246, allocations: 0.9688 kB / 0.6874 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.7249, allocations: 193.8 kB / 0.6876 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.7249, allocations: 85.88 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.725, allocations: 1.75 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.7251, allocations: 0.9062 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.7251, allocations: 13.17 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.7251, allocations: 1.375 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.7252, allocations: 79.2 kB / 0.6878 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.583e-06/0.7252, allocations: 0 / 0.6878 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003702/0.7256, allocations: 23.83 kB / 0.6878 GB, free: 12.82 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.0005062/0.7261, allocations: 0.8184 MB / 0.6886 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.7263, allocations: 35.98 kB / 0.6886 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7263, allocations: 4.062 kB / 0.6886 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.7263, allocations: 21.31 kB / 0.6886 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.7265, allocations: 6.172 kB / 0.6886 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009642/0.7275, allocations: 488.9 kB / 0.6891 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.7277, allocations: 0.6867 MB / 0.6898 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.865e-05/0.7278, allocations: 5.422 kB / 0.6898 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.7278, allocations: 18.48 kB / 0.6898 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/0.7278, allocations: 0 / 0.6898 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.7565, allocations: 1.391 MB / 0.6912 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.7568, allocations: 230.8 kB / 0.6914 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.223, allocations: 0 / 0.6914 GB, free: 10.47 MB / 0.5261 GB