Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.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 8.0.0/package.mo): time 1.579/1.579, allocations: 291.7 MB / 306.8 MB, free: 7.707 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.0009102/0.0009104, allocations: 191 kB / 375.4 MB, free: 5.129 MB / 298.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.336/1.336, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.000894/0.0008942, allocations: 101.7 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 15.98 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/0.5815, allocations: 118.1 MB / 1.011 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001269/0.5828, allocations: 1.002 MB / 1.012 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000851/0.5837, allocations: 0.568 MB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.5837, allocations: 0 / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.5837, allocations: 3.938 kB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.5838, allocations: 5.906 kB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.5843, allocations: 131.8 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.5843, allocations: 26.28 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.5844, allocations: 1.594 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.5844, allocations: 19.89 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.5845, allocations: 8.281 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.5845, allocations: 0 / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.585, allocations: 334 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.585, allocations: 11.19 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.585, allocations: 32.42 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.5852, allocations: 105 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5852, allocations: 0 / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5852, allocations: 3 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.5852, allocations: 0 / 1.013 GB, free: 57.48 MB / 0.7136 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.0003675/0.5856, allocations: 358.6 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.5857, allocations: 11.59 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.5857, allocations: 4.844 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.5858, allocations: 165.1 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5858, allocations: 384 / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.5859, allocations: 6.156 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.586, allocations: 52.09 kB / 1.014 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.586, allocations: 2.75 kB / 1.014 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.586, allocations: 3.938 kB / 1.014 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.586, allocations: 8.438 kB / 1.014 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.5861, allocations: 19.05 kB / 1.014 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.5862, allocations: 169.8 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.957e-05/0.5863, allocations: 54.11 kB / 1.014 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.5864, allocations: 33 kB / 1.014 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.5864, allocations: 0.9375 kB / 1.014 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.5864, allocations: 38.2 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5864, allocations: 4.938 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0009284/0.5874, allocations: 0.5962 MB / 1.015 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.5874, allocations: 51.41 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.21e-05/0.5875, allocations: 93.27 kB / 1.015 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.5875, allocations: 29.58 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.5875, allocations: 86.44 kB / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.5875, allocations: 32.38 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5875, allocations: 6.781 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.5876, allocations: 315.2 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.5876, allocations: 22.62 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.137e-05/0.5877, allocations: 21.14 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.677e-05/0.5877, allocations: 54.73 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.5877, allocations: 0.5938 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001191/0.5879, allocations: 109.6 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5879, allocations: 5.5 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5879, allocations: 0 / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5879, allocations: 3.156 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.588, allocations: 18.92 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.588, allocations: 4.969 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.5881, allocations: 3.688 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.5881, allocations: 2.938 kB / 1.015 GB, free: 55.49 MB / 0.7136 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 6.371e-05/0.5882, allocations: 118.5 kB / 1.015 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.5882, allocations: 6.844 kB / 1.016 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.5884, allocations: 108.5 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5884, allocations: 3.906 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5884, allocations: 0.6562 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5884, allocations: 3.234 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.5887, allocations: 352.1 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5887, allocations: 0 / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/0.5888, allocations: 23.09 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5888, allocations: 3.938 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.5889, allocations: 0 / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5889, allocations: 8.359 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5889, allocations: 0 / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.5891, allocations: 219.5 kB / 1.016 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.5891, allocations: 84.81 kB / 1.016 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5891, allocations: 8.484 kB / 1.016 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.5892, allocations: 2.719 kB / 1.016 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.5892, allocations: 7.625 kB / 1.016 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.5892, allocations: 7.219 kB / 1.016 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.5893, allocations: 75.28 kB / 1.016 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.21e-07/0.5893, allocations: 0.7812 kB / 1.016 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002492/0.5895, allocations: 40.5 kB / 1.016 GB, free: 54.7 MB / 0.7136 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.0001643/0.5897, allocations: 136.1 kB / 1.017 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.5899, allocations: 69.73 kB / 1.017 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5899, allocations: 0 / 1.017 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.5899, allocations: 35.62 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.5901, allocations: 9.188 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.5907, allocations: 334.3 kB / 1.017 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.5908, allocations: 0.6873 MB / 1.018 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.5909, allocations: 12.81 kB / 1.018 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.5909, allocations: 13 kB / 1.018 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.5909, allocations: 0 / 1.018 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.002863/0.5938, allocations: 0.8947 MB / 1.019 GB, free: 53.63 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)