Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.0009771/0.0009771, allocations: 186.4 kB / 330.8 MB, free: 468 kB / 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 1.526/1.526, allocations: 225.7 MB / 0.6016 GB, free: 1.645 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.0008788/0.0008789, allocations: 109.6 kB / 0.709 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 109.2 MB / 0.9328 GB, free: 6.293 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001158/0.1919, allocations: 1.001 MB / 0.9337 GB, free: 5.285 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.1929, allocations: 1.052 MB / 0.9348 GB, free: 4.121 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.1929, allocations: 8 kB / 0.9348 GB, free: 4.113 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.1929, allocations: 3.938 kB / 0.9348 GB, free: 4.109 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.193, allocations: 0 / 0.9348 GB, free: 4.109 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.1935, allocations: 127.6 kB / 0.9349 GB, free: 3.984 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.1935, allocations: 19.88 kB / 0.9349 GB, free: 3.965 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.1936, allocations: 7.984 kB / 0.9349 GB, free: 3.957 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.1936, allocations: 4 kB / 0.9349 GB, free: 3.953 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.1937, allocations: 11.94 kB / 0.9349 GB, free: 3.941 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.1937, allocations: 3.938 kB / 0.9349 GB, free: 3.938 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.1941, allocations: 335.4 kB / 0.9353 GB, free: 3.609 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.1941, allocations: 4 kB / 0.9353 GB, free: 3.605 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.1942, allocations: 33.64 kB / 0.9353 GB, free: 3.566 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1944, allocations: 155.9 kB / 0.9354 GB, free: 3.414 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1944, allocations: 0 / 0.9354 GB, free: 3.414 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1944, allocations: 0 / 0.9354 GB, free: 3.414 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.1944, allocations: 0 / 0.9354 GB, free: 3.414 MB / 0.573 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.0003035/0.1947, allocations: 351.5 kB / 0.9358 GB, free: 3.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1948, allocations: 11.98 kB / 0.9358 GB, free: 3.008 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1948, allocations: 8.938 kB / 0.9358 GB, free: 3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.347e-05/0.1949, allocations: 172.2 kB / 0.936 GB, free: 2.793 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1949, allocations: 384 / 0.936 GB, free: 2.793 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1949, allocations: 4.375 kB / 0.936 GB, free: 2.789 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.483e-05/0.195, allocations: 38.25 kB / 0.936 GB, free: 2.746 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.195, allocations: 4.188 kB / 0.936 GB, free: 2.742 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1951, allocations: 3.938 kB / 0.936 GB, free: 2.738 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.1951, allocations: 0 / 0.936 GB, free: 2.738 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.1951, allocations: 8 kB / 0.936 GB, free: 2.73 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.1952, allocations: 161.7 kB / 0.9362 GB, free: 2.523 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1954, allocations: 50.53 kB / 0.9362 GB, free: 2.465 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.1954, allocations: 20.94 kB / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1955, allocations: 0 / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.1955, allocations: 30.56 kB / 0.9363 GB, free: 2.402 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1955, allocations: 0 / 0.9363 GB, free: 2.402 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0005153/0.196, allocations: 310.1 kB / 0.9366 GB, free: 2.047 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1961, allocations: 55.41 kB / 0.9366 GB, free: 1.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.355e-05/0.1961, allocations: 101.8 kB / 0.9367 GB, free: 1.871 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.1961, allocations: 25.7 kB / 0.9367 GB, free: 1.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.1961, allocations: 80.14 kB / 0.9368 GB, free: 1.758 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1962, allocations: 19.72 kB / 0.9368 GB, free: 1.738 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1962, allocations: 0 / 0.9368 GB, free: 1.738 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.1962, allocations: 322.8 kB / 0.9371 GB, free: 1.414 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.1963, allocations: 15.98 kB / 0.9372 GB, free: 1.398 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.1963, allocations: 15.92 kB / 0.9372 GB, free: 1.383 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.1963, allocations: 32.86 kB / 0.9372 GB, free: 1.348 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1963, allocations: 0 / 0.9372 GB, free: 1.348 MB / 0.573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.3e-05/0.1964, allocations: 61.69 kB / 0.9373 GB, free: 1.281 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1964, allocations: 11.84 kB / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1964, allocations: 240 / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1965, allocations: 0 / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.1965, allocations: 16 kB / 0.9373 GB, free: 1.254 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1965, allocations: 7.922 kB / 0.9373 GB, free: 1.246 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.1966, allocations: 4 kB / 0.9373 GB, free: 1.242 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1966, allocations: 0 / 0.9373 GB, free: 1.242 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.1966, allocations: 117.8 kB / 0.9374 GB, free: 1.117 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.1966, allocations: 7.844 kB / 0.9374 GB, free: 1.109 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1968, allocations: 65.66 kB / 0.9375 GB, free: 1.035 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1968, allocations: 4 kB / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1968, allocations: 0 / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1968, allocations: 0 / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.197, allocations: 323.5 kB / 0.9378 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.197, allocations: 0 / 0.9378 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.1971, allocations: 12 kB / 0.9378 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1971, allocations: 0 / 0.9378 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1971, allocations: 0 / 0.9378 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1971, allocations: 3.938 kB / 0.9378 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1971, allocations: 4 kB / 0.9378 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1973, allocations: 180.4 kB / 0.938 GB, free: 452 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.1973, allocations: 88.95 kB / 0.9381 GB, free: 344 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1973, allocations: 8.016 kB / 0.9381 GB, free: 336 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1974, allocations: 0 / 0.9381 GB, free: 336 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.1974, allocations: 4.516 kB / 0.9381 GB, free: 332 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1974, allocations: 0 / 0.9381 GB, free: 332 kB / 0.573 GB Notification: Performance of sorting global known variables: time 1.896e-05/0.1974, allocations: 83.28 kB / 0.9382 GB, free: 248 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1974, allocations: 0 / 0.9382 GB, free: 248 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002309/0.1977, allocations: 31.98 kB / 0.9382 GB, free: 216 kB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.1978, allocations: 139.9 kB / 0.9383 GB, free: 64 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.1979, allocations: 31.98 kB / 0.9384 GB, free: 32 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1979, allocations: 0 / 0.9384 GB, free: 32 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.326e-05/0.198, allocations: 15.94 kB / 0.9384 GB, free: 16 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.1982, allocations: 7.938 kB / 0.9384 GB, free: 8 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.1986, allocations: 228.2 kB / 0.9386 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1988, allocations: 0.6848 MB / 0.9393 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.1989, allocations: 3.984 kB / 0.9393 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.1989, allocations: 11.44 kB / 0.9393 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of SimCode: time 2.184e-06/0.1989, allocations: 0 / 0.9393 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of Templates: time 0.002628/0.2015, allocations: 0.6281 MB / 0.9399 GB, free: 14.41 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)