Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001428/0.001428, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 71.88 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3682, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003753/0.3721, allocations: 2.107 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3747, allocations: 1.719 MB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.3748, allocations: 0 / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.3752, allocations: 90.84 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.3753, allocations: 63.67 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.3762, allocations: 353.9 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.3764, allocations: 155.2 kB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.3765, allocations: 16.97 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.3765, allocations: 51.89 kB / 0.535 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3767, allocations: 62.8 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.3767, allocations: 11.22 kB / 0.535 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3779, allocations: 0.7868 MB / 0.5358 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.378, allocations: 26.72 kB / 0.5358 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.3781, allocations: 73.61 kB / 0.5359 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008681/0.379, allocations: 0.5972 MB / 0.5365 GB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.379, allocations: 0 / 0.5365 GB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.379, allocations: 1.031 kB / 0.5365 GB, free: 8.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.379, allocations: 4 kB / 0.5365 GB, free: 8.848 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.0007799/0.3798, allocations: 0.5177 MB / 0.537 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3799, allocations: 9.406 kB / 0.537 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.369e-05/0.3799, allocations: 57.92 kB / 0.5371 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.38, allocations: 26.58 kB / 0.5371 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3803, allocations: 215.8 kB / 0.5373 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3803, allocations: 12.38 kB / 0.5373 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3803, allocations: 19.94 kB / 0.5373 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.3808, allocations: 266.2 kB / 0.5376 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3808, allocations: 0.7812 kB / 0.5376 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3808, allocations: 6.562 kB / 0.5376 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.3809, allocations: 5.438 kB / 0.5376 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.3812, allocations: 161.1 kB / 0.5377 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3824, allocations: 0.9117 MB / 0.5386 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3826, allocations: 66.95 kB / 0.5387 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3827, allocations: 32.31 kB / 0.5387 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.3827, allocations: 1.344 kB / 0.5387 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3827, allocations: 39.78 kB / 0.5388 GB, free: 6.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.3828, allocations: 0 / 0.5388 GB, free: 6.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005083/0.3833, allocations: 138.6 kB / 0.5389 GB, free: 6.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3833, allocations: 52.53 kB / 0.539 GB, free: 6.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3836, allocations: 270.2 kB / 0.5392 GB, free: 6.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3836, allocations: 25.7 kB / 0.5392 GB, free: 6.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3837, allocations: 180.9 kB / 0.5394 GB, free: 6.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3838, allocations: 23.28 kB / 0.5394 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.3839, allocations: 54.09 kB / 0.5395 GB, free: 6.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.384, allocations: 336.2 kB / 0.5398 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.3842, allocations: 43.23 kB / 0.5398 GB, free: 5.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.3844, allocations: 196.9 kB / 0.54 GB, free: 5.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.3848, allocations: 254.6 kB / 0.5403 GB, free: 5.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3848, allocations: 1.094 kB / 0.5403 GB, free: 5.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000482/0.3853, allocations: 255.3 kB / 0.5405 GB, free: 5.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3853, allocations: 8.125 kB / 0.5405 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/0.3854, allocations: 21.92 kB / 0.5405 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.3854, allocations: 14.34 kB / 0.5406 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3856, allocations: 45.64 kB / 0.5406 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.3856, allocations: 11.45 kB / 0.5406 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3858, allocations: 42.52 kB / 0.5407 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.3858, allocations: 20.81 kB / 0.5407 GB, free: 5.188 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.0001493/0.386, allocations: 137.7 kB / 0.5408 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.386, allocations: 20.08 kB / 0.5408 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.3864, allocations: 139.4 kB / 0.541 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3865, allocations: 5.531 kB / 0.541 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3865, allocations: 0 / 0.541 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3865, allocations: 1.375 kB / 0.541 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3868, allocations: 221.8 kB / 0.5412 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.3868, allocations: 7.812 kB / 0.5412 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.3868, allocations: 8.703 kB / 0.5412 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3868, allocations: 0 / 0.5412 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3869, allocations: 6.969 kB / 0.5412 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3869, allocations: 3.938 kB / 0.5412 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3869, allocations: 3.938 kB / 0.5412 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.3872, allocations: 203.7 kB / 0.5414 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.3873, allocations: 101.3 kB / 0.5415 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.3873, allocations: 1.312 kB / 0.5415 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.3875, allocations: 7.875 kB / 0.5415 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3875, allocations: 6.641 kB / 0.5415 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.3875, allocations: 3.062 kB / 0.5415 GB, free: 4.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3877, allocations: 184 kB / 0.5417 GB, free: 4.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3877, allocations: 0 / 0.5417 GB, free: 4.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.3882, allocations: 104.7 kB / 0.5418 GB, free: 4.262 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.0009198/0.3892, allocations: 0.8411 MB / 0.5426 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005077/0.3897, allocations: 196.3 kB / 0.5428 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3897, allocations: 0 / 0.5428 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.3899, allocations: 107.2 kB / 0.5429 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3903, allocations: 29.19 kB / 0.5429 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.3935, allocations: 2.503 MB / 0.5454 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3939, allocations: 0.7328 MB / 0.5461 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.979e-05/0.394, allocations: 25.31 kB / 0.5461 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.3941, allocations: 64.66 kB / 0.5462 GB, free: 400 kB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3941, allocations: 0 / 0.5462 GB, free: 400 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.4234, allocations: 9.035 MB / 0.555 GB, free: 8.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 6.562 kB / 0.555 GB, free: 8.121 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches