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_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.844/1.844, allocations: 291.7 MB / 306.8 MB, free: 7.68 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.001344/0.001344, allocations: 193.3 kB / 375.4 MB, free: 5.113 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.339/1.339, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0007544/0.0007545, allocations: 108.4 kB / 0.7699 GB, free: 50.15 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5847, allocations: 118.1 MB / 1.011 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001484/0.5862, allocations: 1.18 MB / 1.012 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.5871, allocations: 0.5788 MB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.5872, allocations: 2.969 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.5872, allocations: 0 / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.5873, allocations: 9.469 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.5877, allocations: 133.6 kB / 1.013 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.5878, allocations: 44.03 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.5879, allocations: 9.781 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.5879, allocations: 22.3 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.588, allocations: 28.88 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.588, allocations: 2.875 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.5884, allocations: 340.8 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.5884, allocations: 14.69 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.5885, allocations: 29.83 kB / 1.013 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.5887, allocations: 124.2 kB / 1.013 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5887, allocations: 0 / 1.013 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5887, allocations: 2.594 kB / 1.013 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5887, allocations: 2.719 kB / 1.013 GB, free: 57.06 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000483/0.5892, allocations: 389.2 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5892, allocations: 7.969 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.5893, allocations: 8.406 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.5893, allocations: 172.3 kB / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.5894, allocations: 10.91 kB / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.5894, allocations: 7.125 kB / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.5896, allocations: 84.5 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5897, allocations: 192 / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5897, allocations: 3.938 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5897, allocations: 2.938 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.5899, allocations: 54.33 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.5904, allocations: 337.5 kB / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.5907, allocations: 85.88 kB / 1.014 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.5908, allocations: 35.41 kB / 1.014 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.5908, allocations: 5.062 kB / 1.015 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.5908, allocations: 36.94 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.5908, allocations: 2.719 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.00147/0.5923, allocations: 0.6668 MB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5924, allocations: 59.47 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.5924, allocations: 104.5 kB / 1.015 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5924, allocations: 29.52 kB / 1.015 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.5925, allocations: 92.48 kB / 1.015 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.5925, allocations: 39.86 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.5925, allocations: 0 / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.5926, allocations: 318.4 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.5927, allocations: 37.72 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.5928, allocations: 36.08 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.5931, allocations: 85.89 kB / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5931, allocations: 0 / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002865/0.5934, allocations: 130.8 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.5934, allocations: 5.531 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5934, allocations: 0.6875 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5934, allocations: 1.094 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.5936, allocations: 34.53 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5936, allocations: 1.438 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.5937, allocations: 12.02 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.5937, allocations: 3.938 kB / 1.016 GB, free: 54.96 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 5.975e-05/0.5937, allocations: 122.3 kB / 1.016 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.5938, allocations: 3.5 kB / 1.016 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.5941, allocations: 133 kB / 1.016 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5941, allocations: 3 kB / 1.016 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5942, allocations: 1.031 kB / 1.016 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5942, allocations: 3.938 kB / 1.016 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.5946, allocations: 391.9 kB / 1.017 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5946, allocations: 4.906 kB / 1.017 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.5948, allocations: 33.95 kB / 1.017 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5948, allocations: 0 / 1.017 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5948, allocations: 7.219 kB / 1.017 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5948, allocations: 0 / 1.017 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5948, allocations: 2.438 kB / 1.017 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.5953, allocations: 260.8 kB / 1.017 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.5953, allocations: 85.48 kB / 1.017 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.5953, allocations: 10.66 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.5955, allocations: 7.125 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.5955, allocations: 6.906 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.5955, allocations: 3.688 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.294e-05/0.5956, allocations: 85.75 kB / 1.017 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5956, allocations: 0 / 1.017 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002442/0.5958, allocations: 39.56 kB / 1.017 GB, free: 54.17 MB / 0.7136 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 (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.000194/0.596, allocations: 137.3 kB / 1.017 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.5963, allocations: 96.22 kB / 1.018 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5963, allocations: 0 / 1.018 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.5965, allocations: 56.39 kB / 1.018 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.5968, allocations: 10.81 kB / 1.018 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.5973, allocations: 376.9 kB / 1.018 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.5975, allocations: 0.6941 MB / 1.019 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.218e-05/0.5975, allocations: 21.52 kB / 1.019 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.5976, allocations: 10.5 kB / 1.019 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of SimCode: time 1.91e-07/0.5976, allocations: 3.188 kB / 1.019 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.003232/0.6008, allocations: 1.07 MB / 1.02 GB, free: 53.05 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)