Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",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.001659/0.001658, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001809/0.00181, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.426/1.426, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2104/0.2104, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.03 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1152, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003459/0.1187, allocations: 1.812 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1205, allocations: 0.9502 MB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1207, allocations: 0 / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.121, allocations: 39.75 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1213, allocations: 71.59 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1217, allocations: 111.6 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.122, allocations: 215.1 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.122, allocations: 13.56 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.1222, allocations: 83.69 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1224, allocations: 107.6 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1224, allocations: 8 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.1227, allocations: 119.8 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.1228, allocations: 47.81 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.1229, allocations: 83.47 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.1232, allocations: 243.4 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1233, allocations: 0 / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1233, allocations: 0 / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1233, allocations: 0 / 473.3 MB, free: 10.36 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001085/0.1244, allocations: 0.5223 MB / 473.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1244, allocations: 12.03 kB / 473.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.1245, allocations: 46.73 kB / 473.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.1245, allocations: 16.75 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1248, allocations: 223.9 kB / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1248, allocations: 12.55 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1248, allocations: 16.38 kB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.1254, allocations: 272.5 kB / 474.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1254, allocations: 0 / 474.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1254, allocations: 7.938 kB / 474.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.1254, allocations: 12.23 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005728/0.126, allocations: 228.4 kB / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1271, allocations: 0.8101 MB / 475.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.1275, allocations: 195.6 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.1278, allocations: 98.48 kB / 475.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.1278, allocations: 4 kB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1279, allocations: 38.69 kB / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.1279, allocations: 0 / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009113/0.1288, allocations: 317.1 kB / 476.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.1288, allocations: 110.7 kB / 476.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1291, allocations: 261.2 kB / 476.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1292, allocations: 29.7 kB / 476.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.1292, allocations: 131.9 kB / 476.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1293, allocations: 35.45 kB / 476.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.1294, allocations: 33.7 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1295, allocations: 338.8 kB / 477 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.1298, allocations: 91.89 kB / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1301, allocations: 133 kB / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.1306, allocations: 229.2 kB / 477.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1306, allocations: 0 / 477.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000657/0.1313, allocations: 281.1 kB / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1313, allocations: 4 kB / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.1313, allocations: 16 kB / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1313, allocations: 0 / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1316, allocations: 43.89 kB / 477.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.1316, allocations: 4.156 kB / 477.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1318, allocations: 39.67 kB / 477.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1319, allocations: 15.91 kB / 477.8 MB, free: 5.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001212/0.132, allocations: 141.8 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.1321, allocations: 15.81 kB / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.1325, allocations: 215.2 kB / 478.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1326, allocations: 8 kB / 478.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1326, allocations: 0 / 478.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1326, allocations: 0 / 478.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.1329, allocations: 265.4 kB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.133, allocations: 8 kB / 478.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.1332, allocations: 31.91 kB / 478.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1332, allocations: 0 / 478.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1332, allocations: 7.984 kB / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1332, allocations: 0 / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1332, allocations: 4 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.1339, allocations: 481.6 kB / 479 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.134, allocations: 104.8 kB / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.134, allocations: 4 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.1343, allocations: 23.97 kB / 479.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.1344, allocations: 15.92 kB / 479.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1344, allocations: 4 kB / 479.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1345, allocations: 192.4 kB / 479.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 479.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.135, allocations: 64 kB / 479.4 MB, free: 3.812 MB / 350.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001038/0.136, allocations: 1.07 MB / 480.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006693/0.1367, allocations: 296.8 kB / 480.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1367, allocations: 3.938 kB / 480.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.137, allocations: 181 kB / 480.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.1376, allocations: 48.77 kB / 481 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.1415, allocations: 2.82 MB / 483.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1419, allocations: 0.7358 MB / 484.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.142, allocations: 49.5 kB / 484.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1422, allocations: 55.41 kB / 484.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1422, allocations: 3.938 kB / 484.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.1666, allocations: 5.744 MB / 490.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.631, allocations: 14.19 kB / 490.4 MB, free: 8.746 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches