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_flatTube_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_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001324/0.001324, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2023/0.2023, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3315, allocations: 60.81 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002921/0.3345, allocations: 2.175 MB / 0.5206 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3359, allocations: 1.065 MB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.336, allocations: 1.438 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.3363, allocations: 90.42 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.3366, allocations: 85.02 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3368, allocations: 121.1 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.337, allocations: 178.8 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.3371, allocations: 14.97 kB / 0.5221 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3372, allocations: 75.81 kB / 0.5222 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3374, allocations: 80.56 kB / 0.5222 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3374, allocations: 9.688 kB / 0.5223 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.3378, allocations: 260.2 kB / 0.5225 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.3378, allocations: 30.09 kB / 0.5225 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.175e-05/0.3379, allocations: 86.53 kB / 0.5226 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.3383, allocations: 333.9 kB / 0.5229 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3384, allocations: 0.8438 kB / 0.5229 GB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3384, allocations: 0 / 0.5229 GB, free: 376 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3384, allocations: 0.9062 kB / 0.5229 GB, free: 376 kB / 382.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.0006035/0.339, allocations: 0.4931 MB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.339, allocations: 9.781 kB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.3391, allocations: 53.94 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3391, allocations: 32.62 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3394, allocations: 224.9 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3395, allocations: 16.97 kB / 0.5237 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3395, allocations: 25.69 kB / 0.5238 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3399, allocations: 226.2 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3399, allocations: 0 / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.34, allocations: 6.25 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.34, allocations: 5.25 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.3404, allocations: 251.4 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009679/0.3414, allocations: 0.6169 MB / 0.5248 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.3417, allocations: 99.56 kB / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.3418, allocations: 42.59 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3419, allocations: 10.75 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3419, allocations: 39.78 kB / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3419, allocations: 0 / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005233/0.3424, allocations: 167 kB / 0.5252 GB, free: 14.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3425, allocations: 52.88 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3427, allocations: 270.3 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3428, allocations: 30.5 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3429, allocations: 168.7 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3429, allocations: 40.86 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.343, allocations: 43.94 kB / 0.5258 GB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3431, allocations: 342.6 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3433, allocations: 48.3 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3435, allocations: 151.1 kB / 0.5263 GB, free: 13.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3439, allocations: 204.9 kB / 0.5265 GB, free: 13.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3439, allocations: 1.375 kB / 0.5265 GB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004794/0.3444, allocations: 241.3 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3444, allocations: 6.875 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3444, allocations: 6.688 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3445, allocations: 6.5 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.3449, allocations: 89.89 kB / 0.5268 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/0.3455, allocations: 1.215 MB / 0.528 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.3458, allocations: 46.61 kB / 0.528 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3458, allocations: 14.38 kB / 0.528 GB, free: 12.33 MB / 398.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.0001152/0.3459, allocations: 136.8 kB / 0.5282 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.346, allocations: 21.48 kB / 0.5282 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.3465, allocations: 169.5 kB / 0.5284 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3465, allocations: 1.375 kB / 0.5284 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3465, allocations: 0.75 kB / 0.5284 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3465, allocations: 0 / 0.5284 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.3473, allocations: 454.6 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3473, allocations: 4.719 kB / 0.5288 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3476, allocations: 56.09 kB / 0.5289 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3476, allocations: 1.344 kB / 0.5289 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3476, allocations: 7.5 kB / 0.5289 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006261/0.3483, allocations: 1.211 MB / 0.53 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3483, allocations: 1.281 kB / 0.53 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.3487, allocations: 254.8 kB / 0.5303 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.3487, allocations: 99.52 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3488, allocations: 5.5 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3489, allocations: 12.23 kB / 0.5304 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.349, allocations: 6 kB / 0.5304 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.349, allocations: 11.19 kB / 0.5304 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3492, allocations: 186.4 kB / 0.5306 GB, free: 10.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3492, allocations: 3.938 kB / 0.5306 GB, free: 10.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.3496, allocations: 67.53 kB / 0.5307 GB, free: 10.06 MB / 398.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.0008459/0.3505, allocations: 0.823 MB / 0.5315 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.351, allocations: 173.1 kB / 0.5316 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3511, allocations: 0 / 0.5316 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.3514, allocations: 87.2 kB / 0.5317 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3518, allocations: 27.3 kB / 0.5317 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3549, allocations: 2.558 MB / 0.5342 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3551, allocations: 0.7374 MB / 0.535 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.048e-05/0.3552, allocations: 16.11 kB / 0.535 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3554, allocations: 69.31 kB / 0.535 GB, free: 6.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3554, allocations: 1.031 kB / 0.535 GB, free: 6.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.3813, allocations: 6.13 MB / 0.541 GB, free: 3.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 14.17 kB / 0.541 GB, free: 3.379 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches