Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001268/0.001268, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001468/0.001468, allocations: 188 kB / 18.71 MB, free: 4.387 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2142/0.2142, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3647, allocations: 60.84 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004339/0.369, allocations: 2.091 MB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.3724, allocations: 1.662 MB / 0.5221 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.3727, allocations: 5.062 kB / 0.5221 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.3731, allocations: 88.78 kB / 0.5222 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3735, allocations: 64.67 kB / 0.5223 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.3752, allocations: 348.5 kB / 0.5226 GB, free: 472 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.3755, allocations: 145.8 kB / 0.5227 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.3756, allocations: 13.83 kB / 0.5227 GB, free: 388 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.3758, allocations: 55.73 kB / 0.5228 GB, free: 360 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3759, allocations: 62.66 kB / 0.5229 GB, free: 328 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3759, allocations: 7.531 kB / 0.5229 GB, free: 324 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.3781, allocations: 0.7581 MB / 0.5236 GB, free: 72 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.3782, allocations: 26.7 kB / 0.5236 GB, free: 56 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.3784, allocations: 73.08 kB / 0.5237 GB, free: 12 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.3801, allocations: 0.5711 MB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3801, allocations: 0 / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3801, allocations: 0 / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3802, allocations: 0 / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001274/0.3814, allocations: 0.5092 MB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.3815, allocations: 8.812 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.318e-05/0.3816, allocations: 55.41 kB / 0.5248 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.3817, allocations: 23.31 kB / 0.5248 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.382, allocations: 223.8 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3821, allocations: 12.59 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.3821, allocations: 20.56 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.3827, allocations: 268.8 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3828, allocations: 1.688 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.3828, allocations: 6.25 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.3828, allocations: 4.875 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.3833, allocations: 156.5 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.3848, allocations: 0.9071 MB / 0.5264 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3851, allocations: 58.05 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3853, allocations: 46.17 kB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.3853, allocations: 0 / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3854, allocations: 35.88 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.3854, allocations: 3.938 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006332/0.386, allocations: 131.5 kB / 0.5267 GB, free: 13.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.3861, allocations: 55.41 kB / 0.5267 GB, free: 13.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.3866, allocations: 265.9 kB / 0.527 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3866, allocations: 25.7 kB / 0.527 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.3868, allocations: 185.5 kB / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3868, allocations: 15.16 kB / 0.5272 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.387, allocations: 58.11 kB / 0.5272 GB, free: 13.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3872, allocations: 332.1 kB / 0.5275 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3874, allocations: 47.69 kB / 0.5276 GB, free: 12.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.3877, allocations: 189.2 kB / 0.5278 GB, free: 12.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.3882, allocations: 258.2 kB / 0.528 GB, free: 12.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3883, allocations: 2.219 kB / 0.528 GB, free: 12.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006981/0.389, allocations: 254.9 kB / 0.5283 GB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.389, allocations: 7.562 kB / 0.5283 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-05/0.3891, allocations: 17.97 kB / 0.5283 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.683e-05/0.3891, allocations: 9.781 kB / 0.5283 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3894, allocations: 46.97 kB / 0.5283 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3894, allocations: 14.81 kB / 0.5284 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3897, allocations: 46.64 kB / 0.5284 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.3897, allocations: 12.38 kB / 0.5284 GB, free: 12.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001621/0.3899, allocations: 140.7 kB / 0.5285 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.39, allocations: 17.44 kB / 0.5286 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.3905, allocations: 139.2 kB / 0.5287 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3905, allocations: 5.312 kB / 0.5287 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3905, allocations: 3.984 kB / 0.5287 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3905, allocations: 1.375 kB / 0.5287 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.391, allocations: 213.2 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/0.3911, allocations: 8.25 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.3911, allocations: 12.11 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3912, allocations: 1.375 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3912, allocations: 1.375 kB / 0.5289 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3912, allocations: 5.312 kB / 0.5289 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3912, allocations: 0 / 0.5289 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.3916, allocations: 215.1 kB / 0.5291 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.3917, allocations: 93.7 kB / 0.5292 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.3918, allocations: 0.7812 kB / 0.5292 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.392, allocations: 11.2 kB / 0.5292 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.392, allocations: 3.594 kB / 0.5292 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3921, allocations: 2.969 kB / 0.5292 GB, free: 11.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.3923, allocations: 188.2 kB / 0.5294 GB, free: 11.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3923, allocations: 0 / 0.5294 GB, free: 11.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006582/0.393, allocations: 100.8 kB / 0.5295 GB, free: 11.35 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001278/0.3942, allocations: 0.8244 MB / 0.5303 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006223/0.3949, allocations: 196.6 kB / 0.5305 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3949, allocations: 1.156 kB / 0.5305 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.3951, allocations: 97.09 kB / 0.5306 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.3956, allocations: 30.95 kB / 0.5306 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.3995, allocations: 2.503 MB / 0.5331 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3999, allocations: 0.7293 MB / 0.5338 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.4, allocations: 34.23 kB / 0.5338 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/0.4001, allocations: 59.41 kB / 0.5339 GB, free: 7.496 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4001, allocations: 0 / 0.5339 GB, free: 7.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.4336, allocations: 8.925 MB / 0.5426 GB, free: 2.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 448 / 0.5426 GB, free: 2.84 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches