Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 74.12 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.0037/0.1307, allocations: 2.207 MB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1326, allocations: 1.106 MB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.1328, allocations: 3.938 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.1332, allocations: 83.45 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.1336, allocations: 87.31 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.134, allocations: 119.5 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.1344, allocations: 178.9 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.1345, allocations: 20.39 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1347, allocations: 75.58 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1349, allocations: 87.44 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.135, allocations: 4 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005317/0.1355, allocations: 267.6 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.1356, allocations: 31.78 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1357, allocations: 79.48 kB / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.1363, allocations: 334.6 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1363, allocations: 3.938 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1363, allocations: 0 / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1364, allocations: 0 / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008225/0.1372, allocations: 0.4912 MB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1372, allocations: 12.03 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.426e-05/0.1373, allocations: 50.73 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.1374, allocations: 28.66 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1377, allocations: 212 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1377, allocations: 16.81 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.1378, allocations: 23.94 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.1382, allocations: 223.3 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1382, allocations: 0 / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1383, allocations: 11.98 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1383, allocations: 7.938 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.1388, allocations: 249.6 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009998/0.1398, allocations: 0.6196 MB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1401, allocations: 94.67 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1402, allocations: 52.81 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1402, allocations: 0 / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1403, allocations: 30.56 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.1403, allocations: 4 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005461/0.1408, allocations: 169.2 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1409, allocations: 59.41 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.1412, allocations: 270.8 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1412, allocations: 25.7 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1414, allocations: 171.3 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1414, allocations: 31.55 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1415, allocations: 57.59 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1417, allocations: 330.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.1418, allocations: 51.95 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.1421, allocations: 144.8 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.1425, allocations: 212.6 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.1425, allocations: 8 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004904/0.143, allocations: 229.1 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.143, allocations: 10.88 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.143, allocations: 8 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1431, allocations: 7.984 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.1435, allocations: 79.91 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/0.1442, allocations: 1.223 MB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.1444, allocations: 31.88 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.1445, allocations: 19.98 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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: 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.0001241/0.1446, allocations: 133.7 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.1447, allocations: 23.72 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.1451, allocations: 167.6 kB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1451, allocations: 7.984 kB / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1451, allocations: 0 / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1451, allocations: 0 / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.1458, allocations: 452 kB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1458, allocations: 4 kB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1461, allocations: 55.92 kB / 490.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1461, allocations: 0 / 490.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1461, allocations: 7.984 kB / 490.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007672/0.1469, allocations: 1.219 MB / 492.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1469, allocations: 0 / 492.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.1473, allocations: 249 kB / 492.3 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.1474, allocations: 104.8 kB / 492.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.1474, allocations: 4 kB / 492.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1476, allocations: 4 kB / 492.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1477, allocations: 11.98 kB / 492.4 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1477, allocations: 8 kB / 492.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1479, allocations: 186 kB / 492.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1479, allocations: 0 / 492.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1482, allocations: 67.94 kB / 492.7 MB, free: 8.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0008325/0.1491, allocations: 0.8153 MB / 493.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006105/0.1497, allocations: 175.8 kB / 493.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1497, allocations: 0 / 493.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.15, allocations: 87.89 kB / 493.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1505, allocations: 20.88 kB / 493.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.1539, allocations: 2.564 MB / 496.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1542, allocations: 0.7285 MB / 497.1 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.123e-05/0.1543, allocations: 29.88 kB / 497.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.1544, allocations: 59.42 kB / 497.2 MB, free: 3.371 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1544, allocations: 0 / 497.2 MB, free: 3.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.1838, allocations: 6.047 MB / 0.4914 GB, free: 13.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.35, allocations: 11.61 kB / 0.4914 GB, free: 13.52 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches