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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") 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.407/1.407, 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.0009414/0.0009415, allocations: 182.7 kB / 330.8 MB, free: 488 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.555/1.555, allocations: 225.7 MB / 0.6016 GB, free: 1.656 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.0009805/0.0009805, allocations: 99.62 kB / 0.709 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1719, allocations: 109.2 MB / 0.9328 GB, free: 6.281 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001315/0.1733, allocations: 1.178 MB / 0.9339 GB, free: 5.094 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009261/0.1742, allocations: 1.071 MB / 0.935 GB, free: 3.91 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.1743, allocations: 4 kB / 0.935 GB, free: 3.906 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.1743, allocations: 3.984 kB / 0.935 GB, free: 3.902 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.1743, allocations: 11.92 kB / 0.935 GB, free: 3.891 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1747, allocations: 131.6 kB / 0.9351 GB, free: 3.762 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.1748, allocations: 51.83 kB / 0.9352 GB, free: 3.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.1749, allocations: 7.984 kB / 0.9352 GB, free: 3.703 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.1749, allocations: 15.94 kB / 0.9352 GB, free: 3.688 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.175, allocations: 31.84 kB / 0.9352 GB, free: 3.656 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.175, allocations: 4 kB / 0.9352 GB, free: 3.652 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.1754, allocations: 343.4 kB / 0.9355 GB, free: 3.316 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.1754, allocations: 8 kB / 0.9355 GB, free: 3.309 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1755, allocations: 53.55 kB / 0.9356 GB, free: 3.25 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1757, allocations: 175.7 kB / 0.9358 GB, free: 3.078 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1757, allocations: 0 / 0.9358 GB, free: 3.078 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.043e-06/0.1757, allocations: 0 / 0.9358 GB, free: 3.078 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.1757, allocations: 4 kB / 0.9358 GB, free: 3.074 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000438/0.1762, allocations: 387.4 kB / 0.9361 GB, free: 2.645 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1762, allocations: 15.98 kB / 0.9361 GB, free: 2.629 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.1762, allocations: 4.938 kB / 0.9362 GB, free: 2.625 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.01e-05/0.1763, allocations: 172.2 kB / 0.9363 GB, free: 2.418 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1763, allocations: 8.375 kB / 0.9363 GB, free: 2.41 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.1764, allocations: 8.375 kB / 0.9363 GB, free: 2.402 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1766, allocations: 78.22 kB / 0.9364 GB, free: 2.32 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1766, allocations: 4.188 kB / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1766, allocations: 3.938 kB / 0.9364 GB, free: 2.312 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1766, allocations: 7.938 kB / 0.9364 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.1769, allocations: 59.89 kB / 0.9365 GB, free: 2.246 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1773, allocations: 332.6 kB / 0.9368 GB, free: 1.871 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1776, allocations: 90.47 kB / 0.9369 GB, free: 1.773 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1777, allocations: 32.78 kB / 0.9369 GB, free: 1.738 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1777, allocations: 8.141 kB / 0.9369 GB, free: 1.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.1777, allocations: 34.56 kB / 0.937 GB, free: 1.688 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1777, allocations: 0 / 0.937 GB, free: 1.688 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.001371/0.1791, allocations: 0.6656 MB / 0.9376 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1792, allocations: 59.39 kB / 0.9377 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.437e-05/0.1792, allocations: 101.8 kB / 0.9378 GB, free: 0.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1792, allocations: 25.8 kB / 0.9378 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.1793, allocations: 108 kB / 0.9379 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1793, allocations: 31.47 kB / 0.9379 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.1793, allocations: 0 / 0.9379 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.1793, allocations: 318.8 kB / 0.9382 GB, free: 264 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1795, allocations: 35.98 kB / 0.9383 GB, free: 228 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1796, allocations: 39.97 kB / 0.9383 GB, free: 188 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1798, allocations: 80.77 kB / 0.9384 GB, free: 104 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1798, allocations: 0 / 0.9384 GB, free: 104 kB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002972/0.1801, allocations: 129.9 kB / 0.9385 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1801, allocations: 7.906 kB / 0.9385 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1801, allocations: 0 / 0.9385 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1801, allocations: 4 kB / 0.9385 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1803, allocations: 23.98 kB / 0.9385 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1803, allocations: 0 / 0.9385 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.1804, allocations: 23.86 kB / 0.9386 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1804, allocations: 0 / 0.9386 GB, free: 15.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.1806, allocations: 117.8 kB / 0.9387 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1806, allocations: 4 kB / 0.9387 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.181, allocations: 133.5 kB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.181, allocations: 4 kB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.181, allocations: 0 / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.181, allocations: 7.938 kB / 0.9388 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.1816, allocations: 390.4 kB / 0.9392 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1816, allocations: 4 kB / 0.9392 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1818, allocations: 27.98 kB / 0.9392 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1818, allocations: 4 kB / 0.9392 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1818, allocations: 3.938 kB / 0.9392 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1818, allocations: 4 kB / 0.9392 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1818, allocations: 3.938 kB / 0.9392 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.1823, allocations: 260 kB / 0.9395 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1824, allocations: 85.05 kB / 0.9396 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1824, allocations: 7.922 kB / 0.9396 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1826, allocations: 19.88 kB / 0.9396 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.1826, allocations: 7.984 kB / 0.9396 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.1826, allocations: 0 / 0.9396 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.1826, allocations: 83.28 kB / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1827, allocations: 4.062 kB / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002522/0.1829, allocations: 39.92 kB / 0.9397 GB, free: 14.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002286/0.1831, allocations: 148.3 kB / 0.9399 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1835, allocations: 87.95 kB / 0.9399 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1835, allocations: 8 kB / 0.9399 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1836, allocations: 47.91 kB / 0.94 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1839, allocations: 8 kB / 0.94 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.1846, allocations: 393.2 kB / 0.9404 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.1848, allocations: 0.6926 MB / 0.941 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.1849, allocations: 16.66 kB / 0.9411 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.1849, allocations: 11.44 kB / 0.9411 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.185, allocations: 0 / 0.9411 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of Templates: time 0.003487/0.1884, allocations: 1.091 MB / 0.9421 GB, free: 12.07 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)