Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.649/1.649, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.001059/0.001059, allocations: 171.3 kB / 393.1 MB, free: 4.113 MB / 314.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.337/1.337, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000767/0.0007671, allocations: 100.5 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5843, allocations: 121.3 MB / 1.041 GB, free: 58.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001363/0.5857, allocations: 1.178 MB / 1.042 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.5868, allocations: 1.074 MB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.5868, allocations: 0.9688 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.5868, allocations: 4.594 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.5869, allocations: 7.047 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.5873, allocations: 140.4 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.5874, allocations: 54.66 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.5875, allocations: 4.594 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.5875, allocations: 20.86 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.5876, allocations: 23.39 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.5876, allocations: 4.844 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.588, allocations: 337.8 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.588, allocations: 18.33 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.5881, allocations: 53.7 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.5883, allocations: 166.6 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5884, allocations: 4 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5884, allocations: 4.594 kB / 1.044 GB, free: 56.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.5884, allocations: 0 / 1.044 GB, free: 56.52 MB / 0.698 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.0004402/0.5888, allocations: 387.8 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5889, allocations: 15.03 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.5889, allocations: 7.688 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.589, allocations: 170.6 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.589, allocations: 384 / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.589, allocations: 9.188 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.5893, allocations: 85.95 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5893, allocations: 192 / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5893, allocations: 9.594 kB / 1.045 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5893, allocations: 1.969 kB / 1.045 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.5895, allocations: 62.41 kB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.59, allocations: 331.2 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.5902, allocations: 86.42 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.5904, allocations: 41.45 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.5904, allocations: 3.156 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.5904, allocations: 30.56 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.5904, allocations: 0.75 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001414/0.5918, allocations: 0.6689 MB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.5919, allocations: 58.88 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.5919, allocations: 105.7 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.5919, allocations: 30.97 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.592, allocations: 91.41 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.592, allocations: 34.64 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.592, allocations: 10.75 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.5921, allocations: 317.5 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.5922, allocations: 33.22 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.5923, allocations: 34.72 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.5926, allocations: 83.98 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5926, allocations: 0.9062 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002741/0.5928, allocations: 130.5 kB / 1.047 GB, free: 54.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5929, allocations: 10.47 kB / 1.047 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5929, allocations: 5.312 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5929, allocations: 4 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.5931, allocations: 29.03 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5931, allocations: 0 / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.5931, allocations: 8.703 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5931, allocations: 12.16 kB / 1.047 GB, free: 54.17 MB / 0.698 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.243e-05/0.5932, allocations: 113.6 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.5932, allocations: 11.41 kB / 1.047 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.5936, allocations: 136.3 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5936, allocations: 0 / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5936, allocations: 0 / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5936, allocations: 5.953 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.5941, allocations: 395.1 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5941, allocations: 2.094 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.5943, allocations: 28.22 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5943, allocations: 0 / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5943, allocations: 8.781 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5943, allocations: 4 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5943, allocations: 0 / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.5947, allocations: 260.3 kB / 1.048 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.5948, allocations: 82.2 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.5948, allocations: 9.875 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5949, allocations: 15.02 kB / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.5949, allocations: 4.359 kB / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.5949, allocations: 7.625 kB / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.282e-05/0.595, allocations: 82.05 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.595, allocations: 0 / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002437/0.5952, allocations: 37.97 kB / 1.048 GB, free: 53.26 MB / 0.698 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 (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.000166/0.5954, allocations: 140.1 kB / 1.048 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.5957, allocations: 91.23 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5957, allocations: 1.969 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.5958, allocations: 54.89 kB / 1.048 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.5961, allocations: 7.406 kB / 1.048 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.5967, allocations: 387.7 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.5968, allocations: 0.6922 MB / 1.049 GB, free: 52.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.763e-05/0.5968, allocations: 12.42 kB / 1.049 GB, free: 52.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.5969, allocations: 14.61 kB / 1.049 GB, free: 52.14 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.5969, allocations: 0.9688 kB / 1.049 GB, free: 52.14 MB / 0.698 GB Notification: Performance of Templates: time 0.003049/0.5999, allocations: 1.093 MB / 1.05 GB, free: 52.04 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)