Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_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.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 292.6 MB / 307.9 MB, free: 7.152 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.0009957/0.0009957, allocations: 185.4 kB / 376.5 MB, free: 4.434 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.327/1.327, allocations: 225.7 MB / 0.655 GB, free: 13.13 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.0007922/0.0007922, allocations: 95.17 kB / 0.7711 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006577/0.0006579, allocations: 12.75 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5715, allocations: 118.2 MB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001521/0.5731, allocations: 1.171 MB / 1.014 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.574, allocations: 0.5832 MB / 1.014 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.5741, allocations: 1.406 kB / 1.014 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.5741, allocations: 3.328 kB / 1.014 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.5742, allocations: 7.484 kB / 1.014 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.5747, allocations: 134.4 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.5748, allocations: 47.44 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.5748, allocations: 5.938 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.5749, allocations: 20.28 kB / 1.014 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.575, allocations: 27.91 kB / 1.014 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.575, allocations: 3 kB / 1.014 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.5754, allocations: 340.5 kB / 1.015 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.5754, allocations: 9.891 kB / 1.015 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.5755, allocations: 50.5 kB / 1.015 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.5757, allocations: 115.4 kB / 1.015 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5757, allocations: 0 / 1.015 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5757, allocations: 0 / 1.015 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.5757, allocations: 4.875 kB / 1.015 GB, free: 57.71 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.0004925/0.5762, allocations: 391.7 kB / 1.015 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.5762, allocations: 12.09 kB / 1.015 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.5763, allocations: 9.781 kB / 1.015 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.23e-05/0.5764, allocations: 174 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.5764, allocations: 3.875 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.5764, allocations: 9.469 kB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.5766, allocations: 87.95 kB / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5767, allocations: 0.8125 kB / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5767, allocations: 9.375 kB / 1.016 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5767, allocations: 4.719 kB / 1.016 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.5769, allocations: 56.08 kB / 1.016 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.5774, allocations: 328.9 kB / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.5777, allocations: 88.31 kB / 1.016 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.5778, allocations: 34.67 kB / 1.016 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.5778, allocations: 2.812 kB / 1.016 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.5779, allocations: 35.59 kB / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.5779, allocations: 0 / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001495/0.5794, allocations: 0.6771 MB / 1.017 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.5794, allocations: 56.72 kB / 1.017 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/0.5795, allocations: 108.3 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5795, allocations: 25.7 kB / 1.017 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.5795, allocations: 98.62 kB / 1.017 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.5795, allocations: 31.17 kB / 1.017 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.5795, allocations: 6.656 kB / 1.017 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.5796, allocations: 315.9 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5797, allocations: 37.97 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5799, allocations: 35.44 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.5801, allocations: 83.77 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5801, allocations: 0 / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002846/0.5804, allocations: 132.3 kB / 1.018 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5804, allocations: 4.5 kB / 1.018 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.5804, allocations: 0 / 1.018 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5804, allocations: 2.938 kB / 1.018 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5806, allocations: 32.45 kB / 1.018 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5806, allocations: 1.312 kB / 1.018 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.5807, allocations: 7.438 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5807, allocations: 9.781 kB / 1.018 GB, free: 55.6 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.994e-05/0.5808, allocations: 116.9 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.5808, allocations: 4.25 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.5811, allocations: 136.1 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.5812, allocations: 4.938 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5812, allocations: 0 / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5812, allocations: 6.172 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.5817, allocations: 395.9 kB / 1.018 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5817, allocations: 1.875 kB / 1.018 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.5818, allocations: 31.08 kB / 1.018 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5818, allocations: 0 / 1.018 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.5818, allocations: 7.688 kB / 1.018 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5819, allocations: 6.062 kB / 1.018 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5819, allocations: 0 / 1.018 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.5823, allocations: 266.1 kB / 1.019 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.5824, allocations: 83.7 kB / 1.019 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.5824, allocations: 8.312 kB / 1.019 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5825, allocations: 10.69 kB / 1.019 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.5825, allocations: 7.891 kB / 1.019 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.5825, allocations: 3.75 kB / 1.019 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.265e-05/0.5826, allocations: 80.22 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5826, allocations: 1.188 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002499/0.5828, allocations: 43.61 kB / 1.019 GB, free: 54.81 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.0001804/0.583, allocations: 139.5 kB / 1.019 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.5833, allocations: 91.08 kB / 1.019 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5833, allocations: 0.6562 kB / 1.019 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.5835, allocations: 55.91 kB / 1.019 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.5837, allocations: 9 kB / 1.019 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.5843, allocations: 378.2 kB / 1.019 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.5844, allocations: 0.6932 MB / 1.02 GB, free: 53.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.924e-05/0.5845, allocations: 14.91 kB / 1.02 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.5845, allocations: 16.09 kB / 1.02 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5845, allocations: 0 / 1.02 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.003088/0.5876, allocations: 1.085 MB / 1.021 GB, free: 53.66 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)