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.00129/0.00129, allocations: 117.2 kB / 17.78 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.001317/0.001318, allocations: 184.2 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2238/0.2238, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 60.82 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.003287/0.3504, allocations: 2.052 MB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3522, allocations: 1.261 MB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3524, allocations: 2.625 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3527, allocations: 65.25 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.3529, allocations: 89.16 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.3536, allocations: 193.8 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.3541, allocations: 427.9 kB / 0.5224 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.3542, allocations: 47.95 kB / 0.5225 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3544, allocations: 151.6 kB / 0.5226 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3546, allocations: 174.7 kB / 0.5228 GB, free: 468 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.3547, allocations: 16.12 kB / 0.5228 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.3551, allocations: 256.8 kB / 0.5231 GB, free: 380 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3553, allocations: 81.97 kB / 0.5231 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3554, allocations: 167.5 kB / 0.5233 GB, free: 240 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.3561, allocations: 0.5101 MB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3561, allocations: 0.5156 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3561, allocations: 0 / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3562, allocations: 0 / 0.5238 GB, free: 40 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.001331/0.3575, allocations: 0.7344 MB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3575, allocations: 9.906 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/0.3576, allocations: 84.34 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.3577, allocations: 44.47 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.3581, allocations: 285.1 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.3581, allocations: 27.91 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.3582, allocations: 40.55 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/0.3592, allocations: 0.5586 MB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3592, allocations: 0 / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.3592, allocations: 12.12 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.3593, allocations: 21.67 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.3601, allocations: 416.1 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.3621, allocations: 1.278 MB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.3627, allocations: 281.5 kB / 0.5275 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.363, allocations: 136.2 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.3631, allocations: 13.56 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3631, allocations: 43.94 kB / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.3631, allocations: 0 / 0.5277 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.3644, allocations: 469.5 kB / 0.5281 GB, free: 13.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.3644, allocations: 112.8 kB / 0.5282 GB, free: 13.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.365, allocations: 0.4911 MB / 0.5287 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.3651, allocations: 31.11 kB / 0.5287 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3652, allocations: 209.4 kB / 0.5289 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.3653, allocations: 58.34 kB / 0.529 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3654, allocations: 64.41 kB / 0.529 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3656, allocations: 354.7 kB / 0.5294 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.3659, allocations: 138.6 kB / 0.5295 GB, free: 12.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.3663, allocations: 214.8 kB / 0.5297 GB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.3671, allocations: 368.8 kB / 0.5301 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3671, allocations: 1.094 kB / 0.5301 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009583/0.3681, allocations: 422.9 kB / 0.5305 GB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3681, allocations: 10.62 kB / 0.5305 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.21e-05/0.3682, allocations: 35.33 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3682, allocations: 4.25 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3684, allocations: 33.48 kB / 0.5305 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3684, allocations: 7.719 kB / 0.5306 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.3687, allocations: 50.84 kB / 0.5306 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.3688, allocations: 25.83 kB / 0.5306 GB, free: 11.6 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.0002264/0.369, allocations: 193.5 kB / 0.5308 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.3691, allocations: 44.69 kB / 0.5309 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000787/0.3699, allocations: 397.8 kB / 0.5312 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3699, allocations: 3.969 kB / 0.5312 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3699, allocations: 0 / 0.5312 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3699, allocations: 7.609 kB / 0.5312 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.3705, allocations: 358.4 kB / 0.5316 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.856e-05/0.3706, allocations: 30.06 kB / 0.5316 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3707, allocations: 28.38 kB / 0.5316 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3708, allocations: 8.984 kB / 0.5316 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.3708, allocations: 6.938 kB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3708, allocations: 1.219 kB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3708, allocations: 9.203 kB / 0.5317 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/0.3717, allocations: 0.5783 MB / 0.5322 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3719, allocations: 127.8 kB / 0.5324 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.3719, allocations: 2.469 kB / 0.5324 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.3722, allocations: 22.47 kB / 0.5324 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.3723, allocations: 17.7 kB / 0.5324 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3723, allocations: 12.41 kB / 0.5324 GB, free: 10.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004214/0.3728, allocations: 364.9 kB / 0.5328 GB, free: 10.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3728, allocations: 0 / 0.5328 GB, free: 10.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006287/0.3734, allocations: 123.4 kB / 0.5329 GB, free: 10.09 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.001559/0.375, allocations: 1.21 MB / 0.5341 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009321/0.3759, allocations: 0.5422 MB / 0.5346 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3759, allocations: 0 / 0.5346 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.3764, allocations: 396.1 kB / 0.535 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.3771, allocations: 92.38 kB / 0.535 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.3841, allocations: 4.652 MB / 0.5396 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.3847, allocations: 0.8566 MB / 0.5404 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.385, allocations: 69.69 kB / 0.5405 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3852, allocations: 112.6 kB / 0.5406 GB, free: 4.363 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3852, allocations: 1.094 kB / 0.5406 GB, free: 4.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.4232, allocations: 11.87 MB / 0.5522 GB, free: 9.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/9.028, allocations: 13.31 kB / 0.5522 GB, free: 9.023 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