Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.622/1.622, allocations: 291.7 MB / 306.8 MB, free: 7.688 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009515/0.0009513, allocations: 186.4 kB / 375.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 103.2 kB / 0.7699 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 15.98 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6146, allocations: 118.1 MB / 1.011 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001457/0.6161, allocations: 0.987 MB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.617, allocations: 0.5564 MB / 1.012 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.6171, allocations: 0.5312 kB / 1.012 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.6171, allocations: 3.281 kB / 1.012 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.6172, allocations: 9.062 kB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.6176, allocations: 124 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.6176, allocations: 18.7 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.6177, allocations: 2.938 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.6177, allocations: 9.953 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.6178, allocations: 12.83 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.6178, allocations: 2.781 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.6182, allocations: 336.4 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.6182, allocations: 4.906 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.6183, allocations: 28.61 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.6184, allocations: 100.5 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6184, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6184, allocations: 2.219 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.6185, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 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.0003367/0.6188, allocations: 351.4 kB / 1.013 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.6188, allocations: 8.094 kB / 1.013 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.6189, allocations: 10.81 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.759e-05/0.619, allocations: 166.9 kB / 1.014 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.619, allocations: 1.688 kB / 1.014 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.619, allocations: 3.375 kB / 1.014 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.165e-05/0.6191, allocations: 45.08 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.6191, allocations: 4.906 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6191, allocations: 3.938 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6191, allocations: 0 / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.6192, allocations: 13.69 kB / 1.014 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.6193, allocations: 158 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.6195, allocations: 46.41 kB / 1.014 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.6195, allocations: 18.22 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.6195, allocations: 3.938 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.6196, allocations: 34.5 kB / 1.014 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6196, allocations: 2.562 kB / 1.014 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005325/0.6201, allocations: 308 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.6201, allocations: 55.78 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.199e-05/0.6202, allocations: 97.52 kB / 1.014 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.6202, allocations: 28.52 kB / 1.014 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.687e-05/0.6202, allocations: 84.61 kB / 1.014 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.6203, allocations: 23.98 kB / 1.014 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.6203, allocations: 1.688 kB / 1.014 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.6203, allocations: 314.8 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.6203, allocations: 11.12 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.6204, allocations: 13.56 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.6204, allocations: 37.92 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.6204, allocations: 0.5 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.632e-05/0.6205, allocations: 67.56 kB / 1.015 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6205, allocations: 11.19 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6205, allocations: 0 / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6206, allocations: 0 / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.642e-05/0.6206, allocations: 10.47 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.6206, allocations: 0.625 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.6206, allocations: 3.5 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.6207, allocations: 4.219 kB / 1.015 GB, free: 55.73 MB / 0.7136 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 4.801e-05/0.6207, allocations: 119.5 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.6207, allocations: 6.906 kB / 1.015 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.6208, allocations: 71.39 kB / 1.015 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.6209, allocations: 0 / 1.015 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6209, allocations: 0 / 1.015 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6209, allocations: 1.125 kB / 1.015 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.6211, allocations: 313.2 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6211, allocations: 4.719 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.6212, allocations: 17.05 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6212, allocations: 3.938 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.6212, allocations: 2.531 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6212, allocations: 1.969 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6212, allocations: 2.531 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.6213, allocations: 183.2 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.6214, allocations: 83.58 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.6214, allocations: 7.094 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.6215, allocations: 2.281 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.6215, allocations: 7.984 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.6215, allocations: 0.8125 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.6215, allocations: 80.94 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6215, allocations: 2.406 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002277/0.6218, allocations: 21.94 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001473/0.6219, allocations: 126.6 kB / 1.016 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.622, allocations: 33.52 kB / 1.016 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.622, allocations: 1.656 kB / 1.016 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.6221, allocations: 17.34 kB / 1.016 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.6223, allocations: 11.72 kB / 1.016 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.6226, allocations: 224.7 kB / 1.016 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.926e-05/0.6228, allocations: 0.6801 MB / 1.017 GB, free: 54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.6228, allocations: 12.44 kB / 1.017 GB, free: 54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.6228, allocations: 11.19 kB / 1.017 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of SimCode: time 1.152e-06/0.6228, allocations: 0 / 1.017 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.00233/0.6251, allocations: 0.5956 MB / 1.017 GB, free: 53.95 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)