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_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 255.9 MB / 271.2 MB, free: 8.867 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.0009464/0.0009464, allocations: 181.9 kB / 330.8 MB, free: 448 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.495/1.495, allocations: 225.7 MB / 0.6016 GB, free: 1.477 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.001049/0.001049, allocations: 95.58 kB / 0.709 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 11.94 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 109.2 MB / 0.9327 GB, free: 6.203 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001163/0.1718, allocations: 1.009 MB / 0.9337 GB, free: 5.188 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.000954/0.1728, allocations: 1.048 MB / 0.9348 GB, free: 4.027 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.1728, allocations: 3.938 kB / 0.9348 GB, free: 4.023 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.1728, allocations: 4 kB / 0.9348 GB, free: 4.02 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.1729, allocations: 7.984 kB / 0.9348 GB, free: 4.012 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.1734, allocations: 127.5 kB / 0.9349 GB, free: 3.887 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.1735, allocations: 31.86 kB / 0.9349 GB, free: 3.855 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.1735, allocations: 4 kB / 0.9349 GB, free: 3.852 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.1736, allocations: 7.984 kB / 0.9349 GB, free: 3.844 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.1736, allocations: 15.92 kB / 0.935 GB, free: 3.828 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1736, allocations: 4 kB / 0.935 GB, free: 3.824 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.1741, allocations: 343.3 kB / 0.9353 GB, free: 3.488 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1741, allocations: 4 kB / 0.9353 GB, free: 3.484 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.1741, allocations: 41.62 kB / 0.9353 GB, free: 3.438 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1744, allocations: 155.9 kB / 0.9355 GB, free: 3.285 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1744, allocations: 0 / 0.9355 GB, free: 3.285 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1744, allocations: 0 / 0.9355 GB, free: 3.285 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1744, allocations: 0 / 0.9355 GB, free: 3.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003252/0.1747, allocations: 359.4 kB / 0.9358 GB, free: 2.883 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1748, allocations: 11.98 kB / 0.9358 GB, free: 2.871 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.1748, allocations: 8.844 kB / 0.9358 GB, free: 2.863 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.001e-05/0.1749, allocations: 168.4 kB / 0.936 GB, free: 2.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1749, allocations: 384 / 0.936 GB, free: 2.66 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1749, allocations: 8.375 kB / 0.936 GB, free: 2.652 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1751, allocations: 46.25 kB / 0.936 GB, free: 2.602 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1751, allocations: 192 / 0.9361 GB, free: 2.602 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1751, allocations: 7.938 kB / 0.9361 GB, free: 2.594 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1751, allocations: 0 / 0.9361 GB, free: 2.594 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.1752, allocations: 23.92 kB / 0.9361 GB, free: 2.57 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.1753, allocations: 169.6 kB / 0.9362 GB, free: 2.355 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.1754, allocations: 62.55 kB / 0.9363 GB, free: 2.285 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.1754, allocations: 24.86 kB / 0.9363 GB, free: 2.258 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1755, allocations: 4 kB / 0.9363 GB, free: 2.254 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1755, allocations: 34.55 kB / 0.9364 GB, free: 2.211 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.1755, allocations: 0 / 0.9364 GB, free: 2.211 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0009744/0.1765, allocations: 0.6072 MB / 0.937 GB, free: 1.512 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.1765, allocations: 55.41 kB / 0.937 GB, free: 1.445 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.882e-05/0.1765, allocations: 89.86 kB / 0.9371 GB, free: 1.348 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1766, allocations: 29.7 kB / 0.9371 GB, free: 1.312 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.44e-05/0.1766, allocations: 88.27 kB / 0.9372 GB, free: 1.223 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.1766, allocations: 43.38 kB / 0.9372 GB, free: 1.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/0.1766, allocations: 4 kB / 0.9373 GB, free: 1.176 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.1767, allocations: 310.8 kB / 0.9375 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.1767, allocations: 23.98 kB / 0.9376 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.1768, allocations: 19.98 kB / 0.9376 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.1768, allocations: 52.86 kB / 0.9376 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1768, allocations: 0 / 0.9376 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001206/0.177, allocations: 109.5 kB / 0.9377 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.177, allocations: 11.91 kB / 0.9378 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.177, allocations: 0 / 0.9378 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.177, allocations: 0 / 0.9378 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.1771, allocations: 20 kB / 0.9378 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1771, allocations: 3.984 kB / 0.9378 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.1772, allocations: 0 / 0.9378 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1772, allocations: 7.938 kB / 0.9378 GB, free: 0.6094 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 (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.033e-05/0.1772, allocations: 114.7 kB / 0.9379 GB, free: 500 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1772, allocations: 11.84 kB / 0.9379 GB, free: 488 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.1774, allocations: 101.6 kB / 0.938 GB, free: 376 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1774, allocations: 7.984 kB / 0.938 GB, free: 368 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1774, allocations: 0 / 0.938 GB, free: 368 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1775, allocations: 3.984 kB / 0.938 GB, free: 364 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1778, allocations: 350.4 kB / 0.9383 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1778, allocations: 0 / 0.9383 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1779, allocations: 20 kB / 0.9384 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1779, allocations: 0 / 0.9384 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1779, allocations: 4 kB / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1779, allocations: 8 kB / 0.9384 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.178, allocations: 3.984 kB / 0.9384 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1782, allocations: 219.6 kB / 0.9386 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1783, allocations: 77.2 kB / 0.9387 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1783, allocations: 11.97 kB / 0.9387 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.1784, allocations: 0 / 0.9387 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.1784, allocations: 11.98 kB / 0.9387 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1784, allocations: 4.062 kB / 0.9387 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.1785, allocations: 79.28 kB / 0.9388 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1785, allocations: 0 / 0.9388 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002686/0.1787, allocations: 35.98 kB / 0.9388 GB, free: 15.46 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 (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.0002237/0.179, allocations: 145.8 kB / 0.9389 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1791, allocations: 71.84 kB / 0.939 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1792, allocations: 0 / 0.939 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.1792, allocations: 31.98 kB / 0.939 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1794, allocations: 8.094 kB / 0.939 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.18, allocations: 340.3 kB / 0.9394 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1803, allocations: 0.6848 MB / 0.94 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.147e-05/0.1803, allocations: 15.92 kB / 0.9401 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.1804, allocations: 15.44 kB / 0.9401 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/0.1804, allocations: 0 / 0.9401 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.003064/0.1835, allocations: 0.9172 MB / 0.941 GB, free: 13.18 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)