Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2087/0.2087, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3644, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003324/0.3678, allocations: 1.991 MB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3691, allocations: 0.7962 MB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.3692, allocations: 6.281 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3695, allocations: 66.39 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.3698, allocations: 122 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3701, allocations: 69.64 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.3704, allocations: 320.2 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.876e-05/0.3705, allocations: 37.25 kB / 0.5218 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3707, allocations: 119.1 kB / 0.5219 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3709, allocations: 146.4 kB / 0.522 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.371, allocations: 11.81 kB / 0.522 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.3712, allocations: 126.8 kB / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3713, allocations: 68.81 kB / 0.5222 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3714, allocations: 116.8 kB / 0.5223 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.3719, allocations: 346.5 kB / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3719, allocations: 0 / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3719, allocations: 0.7031 kB / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3719, allocations: 0 / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008127/0.3728, allocations: 0.5709 MB / 0.5232 GB, free: 208 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3728, allocations: 8.094 kB / 0.5232 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.3729, allocations: 66 kB / 0.5233 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.3729, allocations: 30.88 kB / 0.5233 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.3732, allocations: 259.2 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.3733, allocations: 14.88 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.3733, allocations: 24.19 kB / 0.5236 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.374, allocations: 397.1 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.374, allocations: 7.922 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.3741, allocations: 8.25 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.3741, allocations: 29.19 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.375, allocations: 414.5 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3766, allocations: 0.8701 MB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.3773, allocations: 270.3 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.3775, allocations: 98.34 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.3776, allocations: 10.84 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3776, allocations: 35.94 kB / 0.5257 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.3776, allocations: 0 / 0.5257 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008598/0.3785, allocations: 340.2 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3786, allocations: 54.16 kB / 0.526 GB, free: 14.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.379, allocations: 350 kB / 0.5264 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.379, allocations: 26.67 kB / 0.5264 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3791, allocations: 167.1 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.3792, allocations: 49.88 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3793, allocations: 55.16 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3794, allocations: 343.5 kB / 0.527 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.3797, allocations: 89.5 kB / 0.5271 GB, free: 13.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.3799, allocations: 143.5 kB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.3804, allocations: 249.8 kB / 0.5275 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3804, allocations: 0 / 0.5275 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005417/0.3809, allocations: 300.5 kB / 0.5277 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.381, allocations: 10.41 kB / 0.5277 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.381, allocations: 1.5 kB / 0.5277 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.381, allocations: 2.625 kB / 0.5278 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.3815, allocations: 117.1 kB / 0.5279 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.3838, allocations: 3.676 MB / 0.5315 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.3841, allocations: 29.86 kB / 0.5315 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.3841, allocations: 16.08 kB / 0.5315 GB, free: 9.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.3843, allocations: 173.2 kB / 0.5317 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.3844, allocations: 28.73 kB / 0.5317 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.3851, allocations: 328.7 kB / 0.532 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3851, allocations: 1.719 kB / 0.532 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3851, allocations: 0 / 0.532 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3851, allocations: 1.125 kB / 0.532 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.3855, allocations: 296.8 kB / 0.5323 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3855, allocations: 3.938 kB / 0.5323 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.386, allocations: 118.3 kB / 0.5324 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.386, allocations: 5 kB / 0.5324 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.386, allocations: 4.344 kB / 0.5324 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.3879, allocations: 3.666 MB / 0.536 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3879, allocations: 0 / 0.536 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.3885, allocations: 361.8 kB / 0.5363 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.3886, allocations: 107 kB / 0.5364 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.3886, allocations: 2.031 kB / 0.5364 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.3888, allocations: 12.31 kB / 0.5365 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.3888, allocations: 14.81 kB / 0.5365 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3889, allocations: 9.562 kB / 0.5365 GB, free: 5.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.3891, allocations: 252.2 kB / 0.5367 GB, free: 5.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3891, allocations: 0 / 0.5367 GB, free: 5.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.3895, allocations: 76.2 kB / 0.5368 GB, free: 5.043 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009565/0.3905, allocations: 0.9201 MB / 0.5377 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008706/0.3914, allocations: 300.8 kB / 0.538 GB, free: 4.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.3914, allocations: 5.156 kB / 0.538 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.3919, allocations: 193 kB / 0.5382 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3924, allocations: 63.39 kB / 0.5382 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.3971, allocations: 3.386 MB / 0.5415 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3976, allocations: 0.8063 MB / 0.5423 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.3978, allocations: 60.45 kB / 0.5424 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3979, allocations: 78.72 kB / 0.5425 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3979, allocations: 0 / 0.5425 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.4286, allocations: 8.569 MB / 0.5508 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 21.11 kB / 0.5508 GB, free: 10.41 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches