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_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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.00156/0.00156, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001704/0.001704, 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2031/0.2031, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3499, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004447/0.3544, allocations: 2.682 MB / 0.5211 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.3571, allocations: 1.418 MB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.3575, allocations: 1.375 kB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.3579, allocations: 121.6 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.3586, allocations: 133.4 kB / 0.5227 GB, free: 256 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.3596, allocations: 269 kB / 0.523 GB, free: 148 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.36, allocations: 279.4 kB / 0.5232 GB, free: 0 / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3602, allocations: 25.55 kB / 0.5233 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.3604, allocations: 96.69 kB / 0.5234 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.3607, allocations: 116.9 kB / 0.5235 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.3607, allocations: 6.812 kB / 0.5235 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.362, allocations: 0.597 MB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.3621, allocations: 42.73 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3623, allocations: 134.7 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.3633, allocations: 0.5359 MB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3633, allocations: 0 / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3633, allocations: 0 / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.3633, allocations: 1.375 kB / 0.5247 GB, free: 15.35 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001006/0.3643, allocations: 0.6377 MB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3644, allocations: 8.938 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.854e-05/0.3645, allocations: 75.42 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.3645, allocations: 43.88 kB / 0.5255 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3649, allocations: 242.5 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.3649, allocations: 31.91 kB / 0.5258 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.365, allocations: 39.44 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.3657, allocations: 0.5721 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3657, allocations: 7.031 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.3658, allocations: 23.5 kB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3658, allocations: 14.88 kB / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.3664, allocations: 330.9 kB / 0.5267 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.3691, allocations: 4.052 MB / 0.5307 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.3694, allocations: 86.66 kB / 0.5307 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3696, allocations: 49.52 kB / 0.5308 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3696, allocations: 1.375 kB / 0.5308 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3696, allocations: 31.94 kB / 0.5308 GB, free: 9.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3696, allocations: 0 / 0.5308 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005552/0.3702, allocations: 166.5 kB / 0.531 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3703, allocations: 56.78 kB / 0.531 GB, free: 9.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.3708, allocations: 408.6 kB / 0.5314 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3708, allocations: 26.89 kB / 0.5315 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.371, allocations: 262.6 kB / 0.5317 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.371, allocations: 28.88 kB / 0.5317 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3712, allocations: 68.84 kB / 0.5318 GB, free: 8.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3713, allocations: 352.2 kB / 0.5321 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.3715, allocations: 67.7 kB / 0.5322 GB, free: 8.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.3719, allocations: 252.7 kB / 0.5324 GB, free: 8.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.3724, allocations: 359.9 kB / 0.5328 GB, free: 7.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3724, allocations: 2.781 kB / 0.5328 GB, free: 7.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006941/0.3731, allocations: 354.9 kB / 0.5331 GB, free: 7.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3731, allocations: 9.312 kB / 0.5331 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3732, allocations: 8.219 kB / 0.5331 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.3732, allocations: 8.75 kB / 0.5332 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.3737, allocations: 111.4 kB / 0.5333 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008098/0.3745, allocations: 1.224 MB / 0.5345 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.3748, allocations: 65 kB / 0.5345 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3749, allocations: 25.56 kB / 0.5345 GB, free: 6.387 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.375, allocations: 153.7 kB / 0.5347 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.3751, allocations: 39.67 kB / 0.5347 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.3756, allocations: 166.8 kB / 0.5349 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3756, allocations: 1.062 kB / 0.5349 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3756, allocations: 0 / 0.5349 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3756, allocations: 5.203 kB / 0.5349 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.376, allocations: 274.3 kB / 0.5352 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.376, allocations: 3.938 kB / 0.5352 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.3763, allocations: 57.44 kB / 0.5352 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3763, allocations: 1.281 kB / 0.5352 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3763, allocations: 9.594 kB / 0.5352 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007479/0.3771, allocations: 1.2 MB / 0.5364 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3771, allocations: 1.125 kB / 0.5364 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.3775, allocations: 244.4 kB / 0.5366 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3776, allocations: 112.3 kB / 0.5367 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.3777, allocations: 5.469 kB / 0.5367 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3778, allocations: 8.297 kB / 0.5367 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.3779, allocations: 16.17 kB / 0.5368 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3779, allocations: 2.625 kB / 0.5368 GB, free: 4.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.3782, allocations: 275.6 kB / 0.537 GB, free: 4.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3782, allocations: 0 / 0.537 GB, free: 4.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.3789, allocations: 110.7 kB / 0.5371 GB, free: 4.105 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009957/0.3799, allocations: 0.846 MB / 0.538 GB, free: 3.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005861/0.3805, allocations: 200.4 kB / 0.5381 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3805, allocations: 1.188 kB / 0.5382 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.3808, allocations: 75.14 kB / 0.5382 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3812, allocations: 45.2 kB / 0.5383 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.3852, allocations: 3.401 MB / 0.5416 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3855, allocations: 0.7672 MB / 0.5423 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.3857, allocations: 45.03 kB / 0.5424 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3858, allocations: 106.7 kB / 0.5425 GB, free: 15.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3858, allocations: 0 / 0.5425 GB, free: 15.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.4151, allocations: 9.932 MB / 0.5522 GB, free: 8.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 22.55 kB / 0.5522 GB, free: 8.559 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches