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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001507/0.001507, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001614/0.001614, allocations: 183.8 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2475/0.2475, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3578, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003097/0.3609, allocations: 2.063 MB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.363, allocations: 1.259 MB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3632, allocations: 1.406 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.3636, allocations: 66.03 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.3639, allocations: 97.25 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.3646, allocations: 190.1 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.3653, allocations: 432.7 kB / 0.5224 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3654, allocations: 50.58 kB / 0.5225 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.3657, allocations: 152.5 kB / 0.5226 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.366, allocations: 170.9 kB / 0.5228 GB, free: 456 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.366, allocations: 15.72 kB / 0.5228 GB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006512/0.3667, allocations: 260.6 kB / 0.5231 GB, free: 364 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3668, allocations: 85.3 kB / 0.5231 GB, free: 324 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.367, allocations: 160.5 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.3678, allocations: 0.5173 MB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3678, allocations: 1.812 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3678, allocations: 0 / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3678, allocations: 0 / 0.5238 GB, free: 20 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001441/0.3693, allocations: 0.7256 MB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3694, allocations: 9.625 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.965e-05/0.3695, allocations: 79.91 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.3696, allocations: 45.28 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.37, allocations: 297.6 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.37, allocations: 27.91 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.3701, allocations: 36.31 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.3713, allocations: 0.5547 MB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3713, allocations: 0 / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.3714, allocations: 15.41 kB / 0.5255 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.3714, allocations: 17.52 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.3725, allocations: 417.4 kB / 0.526 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.3747, allocations: 1.277 MB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.3753, allocations: 281.1 kB / 0.5275 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.3756, allocations: 136.9 kB / 0.5276 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/0.3757, allocations: 16.47 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.3757, allocations: 41.09 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.3757, allocations: 0 / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001264/0.377, allocations: 475.7 kB / 0.5281 GB, free: 13.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.3771, allocations: 105.2 kB / 0.5282 GB, free: 13.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/0.3777, allocations: 0.4944 MB / 0.5287 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/0.3778, allocations: 30.86 kB / 0.5287 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.378, allocations: 210 kB / 0.5289 GB, free: 12.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.3781, allocations: 55.14 kB / 0.529 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.3782, allocations: 64.09 kB / 0.529 GB, free: 12.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3784, allocations: 358.5 kB / 0.5294 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.3788, allocations: 135.2 kB / 0.5295 GB, free: 12.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.3792, allocations: 210.8 kB / 0.5297 GB, free: 12.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.3799, allocations: 366.5 kB / 0.5301 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3799, allocations: 1.344 kB / 0.5301 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009415/0.3809, allocations: 422.2 kB / 0.5305 GB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3809, allocations: 10.16 kB / 0.5305 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.685e-05/0.381, allocations: 32.36 kB / 0.5305 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.381, allocations: 3.625 kB / 0.5305 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3812, allocations: 35.03 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3812, allocations: 7.531 kB / 0.5306 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3815, allocations: 59.64 kB / 0.5306 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3816, allocations: 11.41 kB / 0.5306 GB, free: 11.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002598/0.3818, allocations: 198 kB / 0.5308 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3819, allocations: 44.91 kB / 0.5308 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.3828, allocations: 409 kB / 0.5312 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3828, allocations: 4.312 kB / 0.5312 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3828, allocations: 1.5 kB / 0.5312 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3828, allocations: 0 / 0.5312 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.3834, allocations: 361 kB / 0.5316 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-05/0.3835, allocations: 34.17 kB / 0.5316 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3836, allocations: 28.31 kB / 0.5316 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3836, allocations: 5.125 kB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3837, allocations: 14.16 kB / 0.5317 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3837, allocations: 5.25 kB / 0.5317 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3837, allocations: 1.062 kB / 0.5317 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.3846, allocations: 0.5831 MB / 0.5322 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.3847, allocations: 119.5 kB / 0.5324 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.3848, allocations: 2.25 kB / 0.5324 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.3851, allocations: 22 kB / 0.5324 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.3852, allocations: 18.33 kB / 0.5324 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.3852, allocations: 16.8 kB / 0.5324 GB, free: 10.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.3856, allocations: 360 kB / 0.5328 GB, free: 10.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3856, allocations: 0.875 kB / 0.5328 GB, free: 10.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006206/0.3862, allocations: 130.4 kB / 0.5329 GB, free: 10.08 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001547/0.3878, allocations: 1.202 MB / 0.5341 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000971/0.3888, allocations: 0.5323 MB / 0.5346 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3888, allocations: 1.844 kB / 0.5346 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.3893, allocations: 399.2 kB / 0.535 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.39, allocations: 96.7 kB / 0.5351 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.3967, allocations: 4.651 MB / 0.5396 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.3972, allocations: 0.852 MB / 0.5404 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.3974, allocations: 66.45 kB / 0.5405 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.3976, allocations: 112.6 kB / 0.5406 GB, free: 4.371 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3976, allocations: 0 / 0.5406 GB, free: 4.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4341, allocations: 11.88 MB / 0.5522 GB, free: 9.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.515, allocations: 15.84 kB / 0.5522 GB, free: 9.012 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches