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.001335/0.001335, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.002265/0.002265, allocations: 181 kB / 18.71 MB, free: 4.207 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2252/0.2252, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002914/0.3351, allocations: 2.092 MB / 0.5205 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3372, allocations: 1.652 MB / 0.5221 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.3374, allocations: 0.8125 kB / 0.5221 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.3378, allocations: 97.98 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.338, allocations: 64.36 kB / 0.5223 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.339, allocations: 350.9 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.3392, allocations: 141.5 kB / 0.5227 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.3393, allocations: 18.55 kB / 0.5228 GB, free: 372 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.3394, allocations: 51.19 kB / 0.5228 GB, free: 348 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.3395, allocations: 63.08 kB / 0.5229 GB, free: 316 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3395, allocations: 3.5 kB / 0.5229 GB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.3407, allocations: 0.7645 MB / 0.5236 GB, free: 56 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.3408, allocations: 28.25 kB / 0.5236 GB, free: 40 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3409, allocations: 77 kB / 0.5237 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.342, allocations: 0.5707 MB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.342, allocations: 0 / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.342, allocations: 0.5625 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.342, allocations: 0 / 0.5243 GB, free: 15.75 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.0008147/0.3428, allocations: 0.5113 MB / 0.5248 GB, free: 15.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3429, allocations: 10.06 kB / 0.5248 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.697e-05/0.3429, allocations: 58.61 kB / 0.5248 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.343, allocations: 26.8 kB / 0.5249 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3433, allocations: 225.6 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3433, allocations: 12.19 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.3433, allocations: 20.06 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.3438, allocations: 262.6 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3438, allocations: 3.938 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3438, allocations: 11.31 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.3438, allocations: 4.906 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.3442, allocations: 155.3 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3453, allocations: 0.9104 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3455, allocations: 59.42 kB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3456, allocations: 32.06 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3457, allocations: 1.375 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3457, allocations: 39.94 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.406e-06/0.3457, allocations: 0 / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004682/0.3462, allocations: 142.9 kB / 0.5267 GB, free: 13.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3463, allocations: 52.78 kB / 0.5267 GB, free: 13.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.3465, allocations: 266.3 kB / 0.527 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3466, allocations: 25.7 kB / 0.527 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3467, allocations: 188.4 kB / 0.5272 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3467, allocations: 18.77 kB / 0.5272 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3468, allocations: 55.06 kB / 0.5273 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.347, allocations: 332 kB / 0.5276 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3472, allocations: 46.22 kB / 0.5276 GB, free: 12.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.3474, allocations: 182.5 kB / 0.5278 GB, free: 12.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.3479, allocations: 254.8 kB / 0.528 GB, free: 12.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3479, allocations: 5.219 kB / 0.528 GB, free: 12.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004933/0.3484, allocations: 260.5 kB / 0.5283 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3484, allocations: 6.5 kB / 0.5283 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.3484, allocations: 12.84 kB / 0.5283 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.3485, allocations: 12.31 kB / 0.5283 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3486, allocations: 52.62 kB / 0.5284 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3486, allocations: 11.5 kB / 0.5284 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3488, allocations: 45.56 kB / 0.5284 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3489, allocations: 13.03 kB / 0.5284 GB, free: 12.25 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.0001351/0.349, allocations: 142.1 kB / 0.5286 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.349, allocations: 20.05 kB / 0.5286 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.3494, allocations: 140.6 kB / 0.5287 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3494, allocations: 3.938 kB / 0.5287 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3495, allocations: 1.375 kB / 0.5287 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3495, allocations: 0 / 0.5287 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.3497, allocations: 221.2 kB / 0.5289 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.3498, allocations: 12.23 kB / 0.529 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.3498, allocations: 5.5 kB / 0.529 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3498, allocations: 0 / 0.529 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3498, allocations: 2.938 kB / 0.529 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.3499, allocations: 11.92 kB / 0.529 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3499, allocations: 4 kB / 0.529 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.3502, allocations: 207.4 kB / 0.5292 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.3503, allocations: 93.66 kB / 0.5293 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3503, allocations: 4.906 kB / 0.5293 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3504, allocations: 12.33 kB / 0.5293 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.3505, allocations: 7.25 kB / 0.5293 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3505, allocations: 3.156 kB / 0.5293 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3507, allocations: 184.1 kB / 0.5295 GB, free: 11.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3507, allocations: 0 / 0.5295 GB, free: 11.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.3513, allocations: 100.2 kB / 0.5296 GB, free: 11.31 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.0009902/0.3523, allocations: 0.8359 MB / 0.5304 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004969/0.3528, allocations: 194 kB / 0.5306 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3528, allocations: 4 kB / 0.5306 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.353, allocations: 97.28 kB / 0.5307 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3534, allocations: 26.44 kB / 0.5307 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3566, allocations: 2.513 MB / 0.5331 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.357, allocations: 0.7288 MB / 0.5338 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.3572, allocations: 25.91 kB / 0.5339 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.3573, allocations: 64.05 kB / 0.5339 GB, free: 7.441 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3573, allocations: 0 / 0.5339 GB, free: 7.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.395, allocations: 8.821 MB / 0.5425 GB, free: 2.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.34, allocations: 8.422 kB / 0.5426 GB, free: 2.875 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.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.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_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