Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.00117/0.00117, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001238/0.001238, allocations: 183 kB / 18.72 MB, free: 4.332 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.422/1.422, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2024/0.2024, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 59.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4002, allocations: 60.83 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.004383/0.4046, allocations: 1.993 MB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.4062, allocations: 0.8038 MB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.4064, allocations: 2.719 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.4068, allocations: 70.12 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004898/0.4073, allocations: 118.3 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.4077, allocations: 73.06 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.4082, allocations: 312 kB / 0.5217 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.183e-05/0.4083, allocations: 42.5 kB / 0.5218 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.4086, allocations: 127.6 kB / 0.5219 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.4089, allocations: 141.4 kB / 0.522 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.4089, allocations: 12.66 kB / 0.522 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.4093, allocations: 129.9 kB / 0.5222 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.4095, allocations: 64.38 kB / 0.5222 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.4097, allocations: 112.9 kB / 0.5223 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.4104, allocations: 350 kB / 0.5227 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4104, allocations: 0 / 0.5227 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4105, allocations: 1.531 kB / 0.5227 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.4105, allocations: 0 / 0.5227 GB, free: 0.7031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001202/0.4117, allocations: 0.5698 MB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4117, allocations: 9.359 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.4119, allocations: 69.89 kB / 0.5233 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.412, allocations: 31.75 kB / 0.5233 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.4124, allocations: 255.9 kB / 0.5236 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.4124, allocations: 17.36 kB / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.4125, allocations: 25.88 kB / 0.5236 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/0.4134, allocations: 391.3 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4135, allocations: 3.938 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.4135, allocations: 10.58 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.267e-05/0.4136, allocations: 30.64 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000998/0.4146, allocations: 408.1 kB / 0.5244 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.4164, allocations: 0.8729 MB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.4171, allocations: 273.8 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.4173, allocations: 95.34 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.4174, allocations: 9.891 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.4174, allocations: 32.64 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.4174, allocations: 1.375 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009741/0.4184, allocations: 336.2 kB / 0.526 GB, free: 14.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4184, allocations: 56.62 kB / 0.526 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.4189, allocations: 351.3 kB / 0.5264 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.419, allocations: 29.7 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.4191, allocations: 163.4 kB / 0.5266 GB, free: 14.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.4192, allocations: 55.16 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.4193, allocations: 57.55 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4195, allocations: 343.1 kB / 0.527 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4197, allocations: 86.38 kB / 0.5271 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.42, allocations: 143.8 kB / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.4205, allocations: 248.4 kB / 0.5275 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4205, allocations: 1.094 kB / 0.5275 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006772/0.4212, allocations: 294.2 kB / 0.5277 GB, free: 13.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4212, allocations: 9.875 kB / 0.5277 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.4213, allocations: 1.219 kB / 0.5278 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.4213, allocations: 2.781 kB / 0.5278 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.4219, allocations: 120.4 kB / 0.5279 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.4244, allocations: 3.672 MB / 0.5315 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.4246, allocations: 34.06 kB / 0.5315 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.4247, allocations: 11.97 kB / 0.5315 GB, free: 9.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.4249, allocations: 174 kB / 0.5317 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.425, allocations: 27.33 kB / 0.5317 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000795/0.4258, allocations: 336.8 kB / 0.532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4258, allocations: 3.156 kB / 0.532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4258, allocations: 0 / 0.532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4258, allocations: 0 / 0.532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.4263, allocations: 297.2 kB / 0.5323 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4263, allocations: 3.938 kB / 0.5323 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.4268, allocations: 110 kB / 0.5324 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4268, allocations: 9.031 kB / 0.5324 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.4268, allocations: 7.906 kB / 0.5324 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.4291, allocations: 3.671 MB / 0.536 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4291, allocations: 0 / 0.536 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.4297, allocations: 357.6 kB / 0.5363 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.4298, allocations: 104.3 kB / 0.5364 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.4299, allocations: 1.125 kB / 0.5364 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.43, allocations: 11.27 kB / 0.5365 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.4301, allocations: 15.64 kB / 0.5365 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4301, allocations: 8.719 kB / 0.5365 GB, free: 5.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.4304, allocations: 257.2 kB / 0.5367 GB, free: 5.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.4304, allocations: 0 / 0.5367 GB, free: 5.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.4309, allocations: 80.14 kB / 0.5368 GB, free: 5.062 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.4319, allocations: 0.9052 MB / 0.5377 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000902/0.4328, allocations: 304.5 kB / 0.538 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.4328, allocations: 5.094 kB / 0.538 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.4334, allocations: 197.5 kB / 0.5382 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.4339, allocations: 63.55 kB / 0.5382 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.4389, allocations: 3.389 MB / 0.5415 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.4393, allocations: 0.8026 MB / 0.5423 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.4395, allocations: 63.94 kB / 0.5424 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4397, allocations: 77.03 kB / 0.5425 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4397, allocations: 0 / 0.5425 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.4717, allocations: 8.567 MB / 0.5508 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.84, allocations: 17.12 kB / 0.5508 GB, free: 10.43 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches