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.001242/0.001242, allocations: 112.7 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.001257/0.001258, allocations: 180.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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2155/0.2155, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3498, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003279/0.3531, allocations: 2.662 MB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.355, allocations: 1.422 MB / 0.5225 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.3551, allocations: 2.062 kB / 0.5225 GB, free: 448 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3555, allocations: 122.4 kB / 0.5226 GB, free: 380 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.3558, allocations: 127 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.3564, allocations: 263.3 kB / 0.523 GB, free: 188 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.3567, allocations: 276.8 kB / 0.5232 GB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.3567, allocations: 24.92 kB / 0.5232 GB, free: 32 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3569, allocations: 97.22 kB / 0.5233 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.3571, allocations: 124.9 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.3571, allocations: 7 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.3581, allocations: 0.5851 MB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.3582, allocations: 52 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3583, allocations: 132.1 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007731/0.3591, allocations: 0.5404 MB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3591, allocations: 0.8906 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3591, allocations: 0 / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3591, allocations: 0 / 0.5247 GB, free: 15.39 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.0008703/0.36, allocations: 0.6336 MB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3601, allocations: 10.03 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.3602, allocations: 70.56 kB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.3602, allocations: 47.91 kB / 0.5255 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3605, allocations: 247.9 kB / 0.5257 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3606, allocations: 31.06 kB / 0.5257 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.3606, allocations: 39.31 kB / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.3614, allocations: 0.5732 MB / 0.5263 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3614, allocations: 6.062 kB / 0.5263 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.3615, allocations: 19.44 kB / 0.5264 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.3615, allocations: 15.5 kB / 0.5264 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005643/0.362, allocations: 330.2 kB / 0.5267 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.365, allocations: 4.055 MB / 0.5307 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3653, allocations: 90.66 kB / 0.5307 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.3655, allocations: 41.52 kB / 0.5308 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.3655, allocations: 1.375 kB / 0.5308 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3655, allocations: 39.94 kB / 0.5308 GB, free: 9.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.3655, allocations: 0 / 0.5308 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005619/0.3661, allocations: 174.7 kB / 0.531 GB, free: 9.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3662, allocations: 56.78 kB / 0.531 GB, free: 9.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.3666, allocations: 405.1 kB / 0.5314 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3666, allocations: 29.7 kB / 0.5315 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.3668, allocations: 254.3 kB / 0.5317 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.3669, allocations: 41.16 kB / 0.5317 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.367, allocations: 65.98 kB / 0.5318 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3672, allocations: 351 kB / 0.5321 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.3674, allocations: 59.86 kB / 0.5322 GB, free: 8.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.3678, allocations: 260.3 kB / 0.5324 GB, free: 8.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.3684, allocations: 356.2 kB / 0.5328 GB, free: 7.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3684, allocations: 2.562 kB / 0.5328 GB, free: 7.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000726/0.3691, allocations: 348.7 kB / 0.5331 GB, free: 7.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.3692, allocations: 12.58 kB / 0.5331 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3692, allocations: 6.656 kB / 0.5331 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.3692, allocations: 10.09 kB / 0.5331 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.3698, allocations: 106.3 kB / 0.5332 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009179/0.3707, allocations: 1.224 MB / 0.5344 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.3711, allocations: 66.34 kB / 0.5345 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.3711, allocations: 21.16 kB / 0.5345 GB, free: 6.418 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.0002092/0.3713, allocations: 150.4 kB / 0.5347 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.3714, allocations: 47.53 kB / 0.5347 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.3719, allocations: 171.4 kB / 0.5349 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3719, allocations: 5.188 kB / 0.5349 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3719, allocations: 0 / 0.5349 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.372, allocations: 0 / 0.5349 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.3723, allocations: 275.2 kB / 0.5351 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3723, allocations: 0 / 0.5351 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.3726, allocations: 57.95 kB / 0.5352 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3726, allocations: 0 / 0.5352 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3727, allocations: 6.484 kB / 0.5352 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007555/0.3734, allocations: 1.207 MB / 0.5364 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3734, allocations: 0.9688 kB / 0.5364 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3738, allocations: 231.9 kB / 0.5366 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.3739, allocations: 117.5 kB / 0.5367 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.374, allocations: 9.203 kB / 0.5367 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3741, allocations: 2.906 kB / 0.5367 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3742, allocations: 7.797 kB / 0.5367 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3742, allocations: 7.219 kB / 0.5367 GB, free: 4.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.3745, allocations: 276.5 kB / 0.537 GB, free: 4.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3745, allocations: 0 / 0.537 GB, free: 4.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000645/0.3752, allocations: 110.1 kB / 0.5371 GB, free: 4.137 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.001207/0.3764, allocations: 0.8511 MB / 0.5379 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006113/0.377, allocations: 206.1 kB / 0.5381 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.377, allocations: 0 / 0.5381 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.3773, allocations: 78.53 kB / 0.5382 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3778, allocations: 36.11 kB / 0.5383 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.3821, allocations: 3.414 MB / 0.5416 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.3826, allocations: 0.7663 MB / 0.5423 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.3827, allocations: 37.73 kB / 0.5424 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3829, allocations: 99.06 kB / 0.5425 GB, free: 15.75 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3829, allocations: 0 / 0.5425 GB, free: 15.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.4179, allocations: 9.944 MB / 0.5522 GB, free: 8.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.63, allocations: 19.17 kB / 0.5522 GB, free: 8.609 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