Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 297.4 MB / 312.6 MB, free: 2.965 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.000925/0.0009249, allocations: 181.4 kB / 382.3 MB, free: 14.86 MB / 314.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.392/1.392, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.0007663/0.0007664, allocations: 90.44 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004074, allocations: 8 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5782, allocations: 119.2 MB / 1.022 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001232/0.5794, allocations: 1.005 MB / 1.023 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.5804, allocations: 1.056 MB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.5805, allocations: 3.938 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.5805, allocations: 2.422 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.521e-05/0.5805, allocations: 7.312 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.581, allocations: 126.7 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.581, allocations: 24.16 kB / 1.024 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.5811, allocations: 3.5 kB / 1.024 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.5811, allocations: 12.02 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.5812, allocations: 17.3 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.5812, allocations: 1.594 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.5817, allocations: 340.4 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.5817, allocations: 6.328 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.5817, allocations: 42.2 kB / 1.025 GB, free: 56.42 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.582, allocations: 154.1 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.582, allocations: 0.9688 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.582, allocations: 1.062 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.582, allocations: 0 / 1.025 GB, free: 56.38 MB / 0.698 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.000372/0.5824, allocations: 359.5 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5825, allocations: 10.09 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.5825, allocations: 7.875 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.5826, allocations: 165.9 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5827, allocations: 1.469 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.5827, allocations: 12.17 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5828, allocations: 47.75 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5828, allocations: 0.6875 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5829, allocations: 8.938 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5829, allocations: 1.406 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.044e-05/0.5829, allocations: 17.66 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.5831, allocations: 169.9 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.5832, allocations: 60.31 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.5832, allocations: 34.59 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.5832, allocations: 1.812 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5833, allocations: 47.03 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.5833, allocations: 0 / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.00102/0.5843, allocations: 0.5816 MB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.5843, allocations: 58.3 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.5844, allocations: 96.66 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.5844, allocations: 27.23 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.5844, allocations: 84.66 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.5845, allocations: 35.69 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.5845, allocations: 0 / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.5845, allocations: 318.4 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.5846, allocations: 19.12 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.5846, allocations: 23.44 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.5847, allocations: 62.5 kB / 1.027 GB, free: 54.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5847, allocations: 1.594 kB / 1.027 GB, free: 54.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001253/0.5848, allocations: 102.7 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5848, allocations: 10.62 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5848, allocations: 2.016 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5849, allocations: 1.625 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.585, allocations: 26.36 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.585, allocations: 5.375 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.585, allocations: 0.6562 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.585, allocations: 4.531 kB / 1.027 GB, free: 54.2 MB / 0.698 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 5.17e-05/0.5851, allocations: 113.4 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.5851, allocations: 8 kB / 1.027 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.5853, allocations: 103 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5853, allocations: 96 / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5853, allocations: 6.625 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5853, allocations: 7.031 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.5856, allocations: 351.1 kB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5856, allocations: 0 / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.5857, allocations: 19.58 kB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5857, allocations: 0 / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5858, allocations: 7.906 kB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.5858, allocations: 7.938 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5858, allocations: 0 / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.5859, allocations: 220 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.586, allocations: 82.67 kB / 1.028 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.586, allocations: 2.625 kB / 1.028 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.5861, allocations: 0.7969 kB / 1.028 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.5861, allocations: 12.64 kB / 1.028 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5861, allocations: 6.938 kB / 1.028 GB, free: 53.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.636e-05/0.5861, allocations: 76.59 kB / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5861, allocations: 0 / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002392/0.5864, allocations: 38.06 kB / 1.028 GB, free: 53.32 MB / 0.698 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 (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.0001637/0.5866, allocations: 140.1 kB / 1.028 GB, free: 53.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.5867, allocations: 69.39 kB / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5867, allocations: 0 / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.5868, allocations: 33.23 kB / 1.029 GB, free: 53.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.587, allocations: 12.38 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.5875, allocations: 336.2 kB / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.5876, allocations: 0.6832 MB / 1.03 GB, free: 52.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.597e-05/0.5877, allocations: 20.52 kB / 1.03 GB, free: 52.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.5877, allocations: 12.66 kB / 1.03 GB, free: 52.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.5877, allocations: 0 / 1.03 GB, free: 52.23 MB / 0.698 GB Notification: Performance of Templates: time 0.002897/0.5906, allocations: 0.92 MB / 1.03 GB, free: 52.14 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)