Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.151/2.151, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.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.00129/0.00129, allocations: 189.5 kB / 329.5 MB, free: 1.156 MB / 250.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 2.376/2.376, allocations: 225.6 MB / 0.6001 GB, free: 2.195 MB / 426.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.00147/0.00147, allocations: 101.8 kB / 0.7074 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004908, allocations: 14.5 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2373, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001986/0.2394, allocations: 1.001 MB / 0.9317 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2409, allocations: 0.5611 MB / 0.9323 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.2409, allocations: 0 / 0.9323 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.241, allocations: 0 / 0.9323 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.241, allocations: 3.938 kB / 0.9323 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.2418, allocations: 135.5 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.2419, allocations: 23.92 kB / 0.9325 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.242, allocations: 4 kB / 0.9325 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.242, allocations: 19.91 kB / 0.9325 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.2421, allocations: 11.94 kB / 0.9325 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.2421, allocations: 4 kB / 0.9325 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009397/0.2431, allocations: 335.3 kB / 0.9328 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.2431, allocations: 15.92 kB / 0.9328 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.2432, allocations: 25.7 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2435, allocations: 96.09 kB / 0.9329 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2435, allocations: 0 / 0.9329 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2435, allocations: 4 kB / 0.9329 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2436, allocations: 0 / 0.9329 GB, free: 22.89 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004679/0.244, allocations: 363.4 kB / 0.9333 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2441, allocations: 8.031 kB / 0.9333 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.2442, allocations: 4.922 kB / 0.9333 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2443, allocations: 164.4 kB / 0.9335 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.2443, allocations: 4.375 kB / 0.9335 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.2443, allocations: 8.281 kB / 0.9335 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.2445, allocations: 58.19 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2446, allocations: 192 / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2446, allocations: 3.938 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2446, allocations: 0 / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.731e-05/0.2447, allocations: 19.98 kB / 0.9336 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.245, allocations: 173.5 kB / 0.9337 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2452, allocations: 54.56 kB / 0.9338 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.2453, allocations: 32.84 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.2453, allocations: 4 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2454, allocations: 34.5 kB / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.504e-06/0.2454, allocations: 0 / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.00195/0.2474, allocations: 0.5878 MB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.2474, allocations: 55.34 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.2475, allocations: 93.86 kB / 0.9346 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2475, allocations: 29.7 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.2476, allocations: 80.23 kB / 0.9347 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.2477, allocations: 51.31 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.2477, allocations: 8 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.2478, allocations: 315 kB / 0.935 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.2479, allocations: 28 kB / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.248, allocations: 19.98 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.856e-05/0.2481, allocations: 24.25 kB / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2481, allocations: 4 kB / 0.9351 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002779/0.2484, allocations: 101.5 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2484, allocations: 4 kB / 0.9352 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2484, allocations: 0 / 0.9352 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2485, allocations: 3.984 kB / 0.9352 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.2487, allocations: 24 kB / 0.9352 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2487, allocations: 0 / 0.9352 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.2488, allocations: 4 kB / 0.9352 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2488, allocations: 4 kB / 0.9352 GB, free: 20.26 MB / 0.5886 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 (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.313e-05/0.2489, allocations: 121.8 kB / 0.9353 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.249, allocations: 7.844 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.2493, allocations: 109.6 kB / 0.9354 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2493, allocations: 0 / 0.9354 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2493, allocations: 0 / 0.9354 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.2494, allocations: 3.984 kB / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.25, allocations: 354.5 kB / 0.9358 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.25, allocations: 0 / 0.9358 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2503, allocations: 19.98 kB / 0.9358 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.2503, allocations: 0 / 0.9358 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.2504, allocations: 8 kB / 0.9358 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2504, allocations: 0 / 0.9358 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2504, allocations: 0 / 0.9358 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.2508, allocations: 223.2 kB / 0.936 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.2509, allocations: 85.14 kB / 0.9361 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.2509, allocations: 0 / 0.9361 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2512, allocations: 0 / 0.9361 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.2513, allocations: 7.984 kB / 0.9361 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.2513, allocations: 8 kB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.2513, allocations: 75.28 kB / 0.9362 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.81e-07/0.2514, allocations: 0 / 0.9362 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005851/0.252, allocations: 40 kB / 0.9362 GB, free: 19.11 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0003375/0.2523, allocations: 143.2 kB / 0.9364 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.2526, allocations: 75.78 kB / 0.9364 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2527, allocations: 0 / 0.9364 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2528, allocations: 27.94 kB / 0.9365 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.2533, allocations: 8.656 kB / 0.9365 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/0.2543, allocations: 344.2 kB / 0.9368 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.2545, allocations: 0.6809 MB / 0.9375 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2546, allocations: 15.88 kB / 0.9375 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.2547, allocations: 15.42 kB / 0.9375 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of SimCode: time 1.613e-06/0.2547, allocations: 4 kB / 0.9375 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of Templates: time 0.005375/0.2601, allocations: 0.8997 MB / 0.9384 GB, free: 16.84 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)