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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.00145/0.00145, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00157/0.00157, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.352/1.352, 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.2069/0.2069, allocations: 44.2 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3618, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002944/0.3648, allocations: 1.808 MB / 0.5202 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3662, allocations: 0.9681 MB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.3663, allocations: 1.344 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.3666, allocations: 34.23 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.3668, allocations: 74.41 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.3672, allocations: 126.9 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.3675, allocations: 211.3 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.04e-05/0.3676, allocations: 16.31 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3678, allocations: 90.23 kB / 0.5217 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.368, allocations: 95.3 kB / 0.5218 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.368, allocations: 9.219 kB / 0.5218 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.3683, allocations: 124.4 kB / 0.5219 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.3684, allocations: 54.91 kB / 0.522 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.3685, allocations: 85.12 kB / 0.522 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.3689, allocations: 251.8 kB / 0.5223 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3689, allocations: 0 / 0.5223 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3689, allocations: 0 / 0.5223 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3689, allocations: 0 / 0.5223 GB, free: 0.8867 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009855/0.3699, allocations: 0.5321 MB / 0.5228 GB, free: 440 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.37, allocations: 10.22 kB / 0.5228 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.37, allocations: 47.97 kB / 0.5229 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.3701, allocations: 25.73 kB / 0.5229 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.3703, allocations: 225 kB / 0.5231 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3703, allocations: 8.547 kB / 0.5231 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.3704, allocations: 12.69 kB / 0.5231 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/0.371, allocations: 266.9 kB / 0.5234 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.371, allocations: 8.891 kB / 0.5234 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.371, allocations: 5.344 kB / 0.5234 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.3711, allocations: 13.11 kB / 0.5234 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.3717, allocations: 222.4 kB / 0.5236 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.373, allocations: 0.8063 MB / 0.5244 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.3734, allocations: 189.8 kB / 0.5246 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.3737, allocations: 100.3 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.3737, allocations: 7.078 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3738, allocations: 45.69 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3738, allocations: 0 / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009941/0.3748, allocations: 317 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.3749, allocations: 113.6 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.3752, allocations: 255.8 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3752, allocations: 31.08 kB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3754, allocations: 135.1 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.3754, allocations: 36.2 kB / 0.5256 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.3755, allocations: 36.11 kB / 0.5256 GB, free: 14.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3757, allocations: 335.8 kB / 0.5259 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3759, allocations: 96.2 kB / 0.526 GB, free: 14.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3762, allocations: 130.2 kB / 0.5261 GB, free: 14.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.3768, allocations: 227 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3768, allocations: 5.938 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006575/0.3775, allocations: 281.7 kB / 0.5266 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3775, allocations: 5.25 kB / 0.5266 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/0.3775, allocations: 15.55 kB / 0.5266 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3776, allocations: 2.562 kB / 0.5267 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.3778, allocations: 40.5 kB / 0.5267 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3778, allocations: 6.703 kB / 0.5267 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.378, allocations: 30.38 kB / 0.5267 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.378, allocations: 10.62 kB / 0.5267 GB, free: 13.95 MB / 398.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.0001413/0.3782, allocations: 141 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.3783, allocations: 20.52 kB / 0.5269 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.3788, allocations: 219 kB / 0.5271 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3788, allocations: 2.281 kB / 0.5271 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3788, allocations: 4.969 kB / 0.5271 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3788, allocations: 4.922 kB / 0.5271 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.3792, allocations: 258.3 kB / 0.5274 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.3793, allocations: 10.38 kB / 0.5274 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3794, allocations: 32.33 kB / 0.5274 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3794, allocations: 1.406 kB / 0.5274 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3795, allocations: 10.59 kB / 0.5274 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3795, allocations: 1.219 kB / 0.5274 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3795, allocations: 1.188 kB / 0.5274 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.3802, allocations: 492.3 kB / 0.5279 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.3803, allocations: 97.06 kB / 0.528 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.3803, allocations: 1.344 kB / 0.528 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3806, allocations: 18.39 kB / 0.528 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.3806, allocations: 22.47 kB / 0.528 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3807, allocations: 4.062 kB / 0.528 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.3809, allocations: 192.7 kB / 0.5282 GB, free: 12.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3809, allocations: 5.406 kB / 0.5282 GB, free: 12.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.3813, allocations: 74.89 kB / 0.5283 GB, free: 12.73 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 (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.001234/0.3826, allocations: 1.048 MB / 0.5293 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.3833, allocations: 289.9 kB / 0.5296 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3833, allocations: 0 / 0.5296 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.3837, allocations: 182.7 kB / 0.5298 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3842, allocations: 52.19 kB / 0.5298 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.3886, allocations: 2.829 MB / 0.5326 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.389, allocations: 0.7461 MB / 0.5333 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.3891, allocations: 39.62 kB / 0.5333 GB, free: 8.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3892, allocations: 55.5 kB / 0.5334 GB, free: 8.562 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3892, allocations: 1.531 kB / 0.5334 GB, free: 8.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.4166, allocations: 5.913 MB / 0.5392 GB, free: 5.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.151, allocations: 2.844 kB / 0.5392 GB, free: 5.633 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches