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_m_flow_DerivativeCheck.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.695/1.695, allocations: 291.7 MB / 306.8 MB, free: 7.688 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.0009482/0.0009483, allocations: 185.5 kB / 375.4 MB, free: 5.09 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.301/1.301, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0007824/0.0007824, allocations: 101 kB / 0.7699 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.0005191, allocations: 18.7 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5838, allocations: 118.1 MB / 1.011 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001147/0.585, allocations: 1 MB / 1.012 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.5858, allocations: 0.5601 MB / 1.012 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.5858, allocations: 0 / 1.012 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.5858, allocations: 0 / 1.012 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.5859, allocations: 9.094 kB / 1.012 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.5863, allocations: 127.8 kB / 1.013 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.182e-05/0.5863, allocations: 12.7 kB / 1.013 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.5864, allocations: 6.984 kB / 1.013 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.5864, allocations: 8.219 kB / 1.013 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.5865, allocations: 10.84 kB / 1.013 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.5865, allocations: 1.875 kB / 1.013 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.5869, allocations: 339 kB / 1.013 GB, free: 57.85 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.5869, allocations: 3.891 kB / 1.013 GB, free: 57.85 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.5869, allocations: 25.7 kB / 1.013 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.5871, allocations: 105.1 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5871, allocations: 2.75 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5871, allocations: 0 / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5871, allocations: 0 / 1.013 GB, free: 57.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002831/0.5874, allocations: 347.2 kB / 1.013 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5874, allocations: 11.88 kB / 1.013 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.5875, allocations: 7.719 kB / 1.013 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.758e-05/0.5876, allocations: 169.1 kB / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5876, allocations: 7.094 kB / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.5876, allocations: 384 / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/0.5877, allocations: 43.22 kB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.5877, allocations: 2.844 kB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5877, allocations: 4.828 kB / 1.014 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5877, allocations: 0.5312 kB / 1.014 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.5878, allocations: 9.562 kB / 1.014 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.5879, allocations: 162.3 kB / 1.014 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.5881, allocations: 47.69 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.5881, allocations: 21.55 kB / 1.014 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5881, allocations: 0 / 1.014 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.5881, allocations: 36.59 kB / 1.014 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.5881, allocations: 1.5 kB / 1.014 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004975/0.5887, allocations: 307.3 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.5887, allocations: 51.91 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.372e-05/0.5887, allocations: 97.36 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.5887, allocations: 28.27 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.379e-05/0.5888, allocations: 82.89 kB / 1.014 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.5888, allocations: 24.42 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.5888, allocations: 0 / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.5889, allocations: 319.1 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.5889, allocations: 7.422 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.5889, allocations: 14.11 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.589, allocations: 37.3 kB / 1.015 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.589, allocations: 1.375 kB / 1.015 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.919e-05/0.589, allocations: 64.7 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5891, allocations: 9.25 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5891, allocations: 6.453 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.5891, allocations: 1.562 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.5891, allocations: 12.81 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5892, allocations: 4.938 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.5892, allocations: 3.938 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.5892, allocations: 1.969 kB / 1.015 GB, free: 56.02 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 (7): * Single equations (assignments): 7 * 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 4.433e-05/0.5892, allocations: 113.5 kB / 1.015 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.5892, allocations: 6.062 kB / 1.015 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.5894, allocations: 72.73 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5894, allocations: 1.125 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5894, allocations: 2.875 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5894, allocations: 0.9375 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.5896, allocations: 316.5 kB / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5896, allocations: 0 / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.5897, allocations: 16.23 kB / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.5897, allocations: 6.375 kB / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.5897, allocations: 3.875 kB / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5897, allocations: 3.938 kB / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5897, allocations: 3.938 kB / 1.015 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.5899, allocations: 180.9 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.5899, allocations: 83.11 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5899, allocations: 3.844 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.59, allocations: 1.594 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.59, allocations: 6.812 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.59, allocations: 2.719 kB / 1.016 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.59, allocations: 83.5 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5901, allocations: 0 / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002951/0.5904, allocations: 19.59 kB / 1.016 GB, free: 55.23 MB / 0.7136 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 (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.0001465/0.5905, allocations: 133.7 kB / 1.016 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.391e-05/0.5906, allocations: 28.19 kB / 1.016 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5906, allocations: 3.75 kB / 1.016 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.629e-05/0.5907, allocations: 17.94 kB / 1.016 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5909, allocations: 15.73 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.5912, allocations: 216.3 kB / 1.016 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.977e-05/0.5913, allocations: 0.6822 MB / 1.017 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.5914, allocations: 6.906 kB / 1.017 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.5914, allocations: 10.41 kB / 1.017 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/0.5914, allocations: 0 / 1.017 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.002458/0.5939, allocations: 0.6288 MB / 1.017 GB, free: 54.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)